基础布局
Graphin 中内置了 5 种基础布局,分别为circle
, concentirc
, grid
, radial
, dagre
, 它们通过 Graphin 的 props.layout
来指定具体的布局函数,为 data.nodes
中的节点的添加 x,y 坐标。具体的应用场景详见 Layout 自动布局,具体的参数配置详见 Layout API
Graphin 中内置了 5 种基础布局,分别为circle
, concentirc
, grid
, radial
, dagre
, 它们通过 Graphin 的 props.layout
来指定具体的布局函数,为 data.nodes
中的节点的添加 x,y 坐标。具体的应用场景详见 Layout 自动布局,具体的参数配置详见 Layout API