|
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 constraint information
via ItemFactory.setTemporaryPortConstraint(y.base.Edge, boolean, y.layout.PortConstraint).
![]() |
![]() |
| Method Summary | |
|---|---|
void |
optimizeAfterLayering(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
Assigns new temporary port constraints after the layering information has been determined. |
void |
optimizeAfterSequencing(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
Assigns new temporary port constraints after the sequence of the nodes has been determined. |
| Method Detail |
|---|
void optimizeAfterLayering(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
graph - the input graphlayers - the given Layers instanceldp - the LayoutDataProvider containing information about the elementsitemFactory - the ItemFactory 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 input graphlayers - the given Layers instanceldp - the LayoutDataProvider containing information about the elementsitemFactory - the ItemFactory to set the temporary port constraints withItemFactory.setTemporaryPortConstraint(y.base.Edge, boolean, y.layout.PortConstraint)
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||