RadialTreeLayoutDataProvider<TNodeData, TEdgeData>

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

For more information, see RadialTreeLayoutData.

Props

NameDescriptionType
childOrder?
Provides an order for the given edges in which the edges are arranged at a node.
ChildOrderDataProvider<
TNodeData,
TEdgeData
>
edgeLabelPreferredPlacements?
Provides descriptors for the placement of edge labels.
(
label: LabelData
) => EdgeLabelPreferredPlacement
groupNodePadding?
Provides the paddings for the group nodes, i.e., a rectangular area like padding in the interior of the node.
(
node: TNodeData
) => Insets
nodeMargins?
Provides margins for nodes, i.e., a rectangular area around a specific node considered during the layout.
(
node: TNodeData
) => NodeMargins
nodeTypes?
Provides types which can influence the ordering of nodes during layout.
(node: TNodeData) => any