OrthogonalLayoutDataProvider<TNodeData, TEdgeData>
A provider for individual options per nodes or edges in a OrthogonalLayout. It allows for defining a function that provide values for each element.
For more information, see OrthogonalLayoutData.
Props
Name | Description | Type |
---|---|---|
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 |
edgeLabelPreferredPlacement? | Provides descriptors for the placement of edge labels. | ( |
groupNodeInsets? | Provides the insets the group nodes, i.e., a rectangular area like padding in the interior of the node. | ( |
nodeHalos? | Provides halos 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 |
sourceGroupIds? | Provides which edges should be grouped at source, i.e., share the beginning of their routes. | (edge: TEdgeData) => any |
targetGroupIds? | Provides which edges should be grouped at target, i.e., share the end of their routes. | (edge: TEdgeData) => any |