English
@eightkk/vue-weave / core / layoutCircularGraph
Function: layoutCircularGraph()
layoutCircularGraph<
N>(nodes,edges,options?):GraphLayout
Defined in: src/core/graphLayouts.ts:364
Circular layout: all nodes sit on one circle in input order (or in sort order). The radius grows linearly with the node count so neighbouring boxes never overlap. Edges are straight lines between box borders; self-loops are small curves.
Type Parameters
N
N extends IdentifiedNode
Parameters
nodes
readonly N[]
edges
readonly GraphEdge<unknown>[]
options?
GraphCircularLayoutOptions<N> = {}