|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortAssignment
A PortAssignment
places the ports of edges connecting to the same node.
Classes implementing this interface are responsible for the assignment of the edges' ports.
NodePlacer
instances need to obey the currently set ports.
Method Summary | |
---|---|
void |
assignPorts(LayoutGraph graph,
Node node)
Places the ports of edges connecting to the given node. |
Method Detail |
---|
void assignPorts(LayoutGraph graph, Node node)
This method is called by GenericTreeLayouter
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.
GenericTreeLayouter
may have reversed some edges in order to
normalize the tree structure.graph
- the graphnode
- the node whose adjacent edges' ports should be set
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |