CircularLayoutDataProvider<TNodeData, TEdgeData>

A provider for individual options per nodes or edges in a CircularLayout. It allows for defining a function that provide values for each element.

For more information, see CircularLayoutData.

Props

NameDescriptionType
edgeDirectedness?
Provides 0, 1, or -1 for each edge to indicate if it is undirected, in layout direction, or against layout direction.
(edge: TEdgeData) => number
groupNodeInsets?
Provides the insets the group nodes, i.e., a rectangular area like padding in the interior of the node.
(
node: TNodeData
) => Insets
nodeHalos?
Provides halos for nodes, i.e., a rectangular area around a specific node considered during the layout.
(
node: TNodeData
) => NodeHalo
nodeTypes?
Provides types which can influence the ordering of nodes during layout.
(node: TNodeData) => any