y25.layout
Class FlatLayouter.CanonicFlatteningStage

java.lang.Object
  extended byy25.layout.AbstractLayoutStage25D
      extended byy25.layout.FlatLayouter.CanonicFlatteningStage
All Implemented Interfaces:
Layouter25D, LayoutStage25D
Enclosing class:
FlatLayouter

protected class FlatLayouter.CanonicFlatteningStage
extends AbstractLayoutStage25D

The canonic flatteing/unflattening stage used by FlatLayouter.


Field Summary
 
Fields inherited from class y25.layout.AbstractLayoutStage25D
coreLayouter
 
Constructor Summary
protected FlatLayouter.CanonicFlatteningStage()
           
 
Method Summary
 boolean canLayout(LayeredLayoutGraph llg)
          Returns true, if this Layouter25D is capable of layouting the given graph.
protected  void copyEdgeLayout25D(EdgeLayout src, EdgeLayout trg)
           
protected  void copyNodeLayout25D(NodeLayout src, NodeLayout trg)
           
 void doLayout(LayeredLayoutGraph llg)
          Performs the layout on the given graph.
protected  Edge getEdgeByID(HashMap usedEdgeIDs, Integer edgeID)
           
protected  Node getNodeByID(HashMap usedNodeIDs, Integer nodeID)
           
 
Methods inherited from class y25.layout.AbstractLayoutStage25D
canLayoutCore, doLayoutCore, getCoreLayouter25D, setCoreLayouter25D
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatLayouter.CanonicFlatteningStage

protected FlatLayouter.CanonicFlatteningStage()
Method Detail

canLayout

public boolean canLayout(LayeredLayoutGraph llg)
Description copied from interface: Layouter25D
Returns true, if this Layouter25D is capable of layouting the given graph.


doLayout

public void doLayout(LayeredLayoutGraph llg)
Description copied from interface: Layouter25D
Performs the layout on the given graph.


getNodeByID

protected Node getNodeByID(HashMap usedNodeIDs,
                           Integer nodeID)

getEdgeByID

protected Edge getEdgeByID(HashMap usedEdgeIDs,
                           Integer edgeID)

copyNodeLayout25D

protected void copyNodeLayout25D(NodeLayout src,
                                 NodeLayout trg)

copyEdgeLayout25D

protected void copyEdgeLayout25D(EdgeLayout src,
                                 EdgeLayout trg)