y.layout.hierarchic.incremental
Class AsIsSequencer
java.lang.Object
y.layout.hierarchic.incremental.AsIsSequencer
- All Implemented Interfaces:
- Sequencer
public class AsIsSequencer
- extends Object
- implements Sequencer
Sequencer implementation that returns a sequencing that
corresponds to the current drawing.
-
-
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsIsSequencer
public AsIsSequencer()
- Creates a new AsIsSequencer
sequenceNodeLayers
public void sequenceNodeLayers(LayoutGraph g,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
- Description copied from interface:
Sequencer
- Called by
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.
- Specified by:
sequenceNodeLayers in interface Sequencer
- Parameters:
g - the graph that contains the elements from layerslayers - the Layer implementation that holds the Layers for sequencingldp - the LayoutDataProvider that provides the necessary NodeData
and EdgeDataitemFactory - an ItemFactory implementation that can be used to modify the
graph consistently