日本語
@eightkk/vue-weave / core / layoutTreeGraph
Function: layoutTreeGraph()
layoutTreeGraph(
nodes,edges,options?):GraphLayout
Defined in: src/core/graphLayouts.ts:145
Tidy tree layout for forests. Depth maps to columns (LR) and leaves are spaced evenly with each parent centred over its children. Edges that are not tree edges are drawn as extra curves.
Parameters
nodes
readonly IdentifiedNode[]
edges
readonly GraphEdge<unknown>[]