A ISeriesParallelLayoutPortAssignment is used by SeriesParallelLayout for determining the locations of the edges' ports at their incident nodes.
Inheritance Hierarchy
ISeriesParallelLayoutPortAssignment
Type Details
- yfiles module
- layout-seriesparallel
- yfiles-umd modules
- layout-seriesparallel, layout
- Legacy UMD name
- yfiles.seriesparallel.IPortAssignment
See Also
Methods
Assigns both the incoming edges' target ports as well as all source ports for the outgoing edges.
Remarks
Outgoing edges are sorted according to the specified out-edge comparator from left to right and incoming edges are in the order of the subgraphs they are coming from.
This method is called by SeriesParallelLayout before the actual layout of the graph takes place.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- graph - LayoutGraph
- the graph instance the node is part of
- node - YNode
- the node whose incident edges' ports are assigned