An IPartitionInterEdgeRouter is responsible for routing inter-edges.
Inheritance Hierarchy
IPartitionInterEdgeRouter
Remarks
An inter-edge is an edge that connects nodes that belong to different partitions.
Default Values of Properties
routeInterEdgesOnly | false | All edges are routed. |
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.IPartitionInterEdgeRouter
Properties
Methods
Routes inter-edges of the partitioned graph.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- graph - LayoutGraph
- the input graph
- partitionIDDP - IDataProvider
- the partition ID for each node in the graph
Domain YNode Values Object the same ID-object for all nodes that belong to the same partition - interEdgeDP - IDataProvider
- the map that marks inter-edges
Domain Edge Values boolean true
if the edge is an inter-edge,false
otherwise
Static Methods
Routes inter-edges using ChannelEdgeRouter.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- router - ChannelEdgeRouter
- The router instance to use for the edge routing. If not specified, a internal instance is used.
This method is not available unless the module router-other is loaded. Either load the module 'router-other' explicitly or call
Class.ensure(OrganicEdgeRouter)
More information.Routes inter-edges using EdgeRouter.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- router - EdgeRouter
- The router instance to use for the edge routing. If not specified, an internal instance is used.
This method is not available unless the module router-polyline is loaded. Either load the module 'router-polyline' explicitly or call
Class.ensure(EdgeRouter)
More information.