A IPartitionFinder is responsible for partitioning the input graph.
Inheritance Hierarchy
IPartitionFinder
Type Details
- yfiles module
- router-polyline
- yfiles-umd modules
- layout-area, layout-multipage, layout-orthogonal-compact, layout, router-bus, router-polyline
- Legacy UMD name
- yfiles.layout.IPartitionFinder
Methods
Returns a partition ID for each node of an input graph.
Remarks
Nodes that share a common partition ID are considered to belong to the same partition.
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
- partitionIDMap - INodeMap
- the map that is filled with the resulting partition IDs
Domain YNode Values Object the same ID-object for all nodes that belong to the same partition