A IPartitionPlacer is responsible for arranging the graph partitions.
Inheritance Hierarchy
IPartitionPlacer
Remarks
Arranging a graph partition usually involves applying a coordinate translation to all elements that belong to the partition in order to generate a non-overlapping node arrangement.
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.IPartitionPlacer
Methods
Arranges the graph while taking partition IDs and inter-edge information into account.
Remarks
Edges which connect nodes that belong to two different partitions are called inter-edges
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 which marks inter-edges
Domain Edge Values boolean true
if the edge is an inter-edge,false
otherwise