|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Sequencer
This interface is used by HierarchicLayouter to calculate the order of the nodes within each layer.
Implementations are used during the second phase of the hierarchic layout process and
can be set using method IncrementalHierarchicLayouter.setFixedElementsSequencer(Sequencer)
or IncrementalHierarchicLayouter.setFromScratchSequencer(Sequencer)).
HierarchicLayouter.setSequencer(Sequencer),
IncrementalHierarchicLayouter.setFixedElementsSequencer(Sequencer),
IncrementalHierarchicLayouter.setFromScratchSequencer(Sequencer)![]() |
![]() |
| Method Summary | |
|---|---|
void |
sequenceNodeLayers(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
Calculates the sequence of the nodes within each layer. |
| Method Detail |
|---|
void sequenceNodeLayers(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
layer.
This method is called by HierarchicLayouter during the second phase and finally writes back the
calculated sequence using the Layer.setNodeOrder(y.base.YList) method.
graph - the input graphlayers - the given Layers instance containing the elements in the layeringldp - the LayoutDataProvider implementation which provides access to the NodeData and
EdgeData instancesitemFactory - the ItemFactory used temporarily for modifying the graph instance
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||