com.mindfusion.diagramming
Class LayeredLayoutStatistics

java.lang.Object
  extended by com.mindfusion.diagramming.LayeredLayoutStatistics

public final class LayeredLayoutStatistics
extends java.lang.Object

Encapsulates information about a layered layout which has already complete.


Method Summary
 int getLayerCount()
          Gets the total number of layers in the layout.
 java.util.Hashtable<DiagramLink,java.lang.Integer> getLinkLayerCount()
           
 java.util.Hashtable<DiagramNode,java.lang.Double> getNodeGridPositions()
          Gets a mapping between nodes and their assigned grid positions.
 java.util.Hashtable<DiagramNode,java.lang.Integer> getNodeLayerIndices()
          Gets a mapping between nodes and their assigned layers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNodeLayerIndices

public java.util.Hashtable<DiagramNode,java.lang.Integer> getNodeLayerIndices()
Gets a mapping between nodes and their assigned layers.


getNodeGridPositions

public java.util.Hashtable<DiagramNode,java.lang.Double> getNodeGridPositions()
Gets a mapping between nodes and their assigned grid positions.


getLinkLayerCount

public java.util.Hashtable<DiagramLink,java.lang.Integer> getLinkLayerCount()

getLayerCount

public int getLayerCount()
Gets the total number of layers in the layout. If more than one subgraph is laid out, this property returns the number of layers in the last subgraph.