Package | com.yworks.yfiles.layout.seriesparallel |
Interface | public interface PortAssignment |
Implementors | DefaultPortAssignment |
See also
Method | Defined By | ||
---|---|---|---|
Called by com.yworks.yfiles.layout.seriesparallel.SeriesParallelLayouter before the actual layout of the graph takes place. | PortAssignment |
assignPorts | () | method |
public function assignPorts(graph:LayoutGraph, node:Node):void
Called by com.yworks.yfiles.layout.seriesparallel.SeriesParallelLayouter before the actual layout of the graph takes place. This method assigns both the incoming edges target ports as well as all source ports for the outgoing edges. At this point outgoing edges are ordered according the specified out-edge comparator from left to right and incoming edges are in the order of the subgraphs their coming from.
Parameters
graph:LayoutGraph — the graph instance the node is part of
| |
node:Node — the node whose adjacent edges' ports should be set
|
See also