TreeLayoutDataProvider<TNodeData, TEdgeData>
A provider for individual options per nodes or edges in a TreeLayout. It allows for defining a function that provide values for each element.
For more information, see TreeLayoutData.
Props
Name | Description | Type |
---|---|---|
assistantNodes? | Provides which nodes should be placed separately from their siblings. | ( |
childOrder? | Provides an order for outgoing edges at the given node in which the edges are arranged. | ChildOrderDataProvider< |
edgeLabelPreferredPlacements? | Provides descriptors for the placement of edge labels. | ( |
groupNodePadding? | Provides the paddings for the group nodes, i.e., a rectangular area like padding in the interior of the node. | ( |
nodeMargins? | Provides margins for nodes, i.e., a rectangular area around a specific node considered during the layout. | ( |
nodeTypes? | Provides types which can influence the ordering of nodes during layout. | (node: TNodeData) => any |