A ITreeLayoutPortAssigner places the ports of edges connecting to the same node.
Inheritance Hierarchy
Remarks
Classes implementing this interface are responsible for the assignment of the edges' ports. ISubtreePlacer instances need to obey the currently set ports.
See Also
Developer's Guide
Members
No filters for this type
Methods
Places the ports of edges connecting to the given node.
Places the ports of edges connecting to the given node.
This method is called by TreeLayout before the actual layout calculation takes place. It assigns both the single incoming edge's target port as well as all source ports of all outgoing child edges.
At the time this method gets invoked, TreeLayout may have reversed some edges in order to normalize the tree structure.
abstract
Parameters
- graph: LayoutGraph
- the graph
- node: LayoutNode
- the node whose adjacent edges' ports should be set