EdgeRouterDataProvider<TNodeData, TEdgeData>
A provider for individual options per nodes or edges in a EdgeRouter. It allows for defining a function that provide values for each element.
For more information, see EdgeRouterData.
Props
Name | Description | Type |
---|---|---|
edgeLabelPreferredPlacements? | Provides descriptors for the placement of edge labels. | ( |
nodeMargins? | Provides margins for nodes, i.e., a rectangular area around a specific node considered during the layout. | ( |
ports? | Provides information about how an edge connects to its nodes. | PortDataProvider<TEdgeData> |
scope? | Provides which edges should be routed. | EdgeRouterScopeDataProvider< |
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 |