|
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 node
orders of nodes within the layers in a Layers
object.
Implementations are used during the second phase of the hierarchic layout
process.
HierarchicLayouter.setSequencer(Sequencer)
,
IncrementalHierarchicLayouter.setFixedElementsSequencer(Sequencer)
,
IncrementalHierarchicLayouter.setFromScratchSequencer(Sequencer)
Method Summary | |
---|---|
void |
sequenceNodeLayers(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
Called by HierarchicLayouter during the second phase. |
Method Detail |
---|
void sequenceNodeLayers(LayoutGraph graph, Layers layers, LayoutDataProvider ldp, ItemFactory itemFactory)
HierarchicLayouter
during the second phase.
Calculates a sequence of the nodes in layers
and finally
writes back the calculated sequence using the Layer.setNodeOrder(y.base.YList)
method.
graph
- the graph that contains the elements from layers
layers
- the Layer implementation that holds the Layers for sequencingldp
- the LayoutDataProvider that provides the necessary NodeData
and EdgeData
itemFactory
- an ItemFactory implementation that can be used to modify the
graph consistently
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |