documentationfor yFiles for HTML 3.0.0.3

ITreeLayoutPortAssigner

A ITreeLayoutPortAssigner places the ports of edges connecting to the same node.

Inheritance Hierarchy
ITreeLayoutPortAssigner

Remarks

Classes implementing this interface are responsible for the assignment of the edges' ports. ISubtreePlacer instances need to obey the currently set ports.

Type Details

yFiles module
algorithms
While the specified ISubtreePlacer preserves the assigned ports, some implementations may not be able to generate the complex edge routes required, potentially leading to visually unappealing connections. As a result, custom ITreeLayoutPortAssigner implementations often also require custom ISubtreePlacer implementations.

Methods