|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PortConstraintOptimizer
This interface serves as a callback for HierarchicLayouter after the layering and sequencing phases.
Implementations of this interface may modify the port constraints (PortConstraint) information
via ItemFactory.setTemporaryPortConstraint(y.base.Edge, boolean, y.layout.PortConstraint).
| Method Summary | |
|---|---|
void |
optimizeAfterLayering(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
Called after the layering information has been determined. |
void |
optimizeAfterSequencing(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
Called after the sequence of the nodes has been determined. |
| Method Detail |
|---|
void optimizeAfterLayering(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
graph - the graph to work onlayers - the layering informationldp - the implementation which provides access to the NodeData and EdgeData instancesitemFactory - the factory to set the temporary port constraints withItemFactory.setTemporaryPortConstraint(y.base.Edge, boolean, y.layout.PortConstraint)
void optimizeAfterSequencing(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
graph - the graph to work onlayers - the layering informationldp - the implementation which provides access to the NodeData and EdgeData instancesitemFactory - the factory to set the temporary port constraints withItemFactory.setTemporaryPortConstraint(y.base.Edge, boolean, y.layout.PortConstraint)
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||