ccvisu
Class GraphData

java.lang.Object
  extended by ccvisu.GraphData

public class GraphData
extends java.lang.Object

Contains the representation of a graph. This class is a collection of the data structures needed for layout and transformation processing.

Version:
$Revision: 1.8 $; $Date: 2006/11/25 10:41:07 $
Author:
Dirk Beyer

Field Summary
 java.util.Vector<GraphEdgeInt> edges
          Edges of type GraphEdgeInt.
 java.util.Map<java.lang.String,GraphVertex> nameToVertex
          Maps a vertex name to a GraphVertex.
 float[][] pos
          Layout.
 java.util.Vector<GraphVertex> vertices
          Maps a vertex id to a GraphVertex.
 
Constructor Summary
GraphData()
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vertices

public java.util.Vector<GraphVertex> vertices
Maps a vertex id to a GraphVertex.


nameToVertex

public java.util.Map<java.lang.String,GraphVertex> nameToVertex
Maps a vertex name to a GraphVertex.


edges

public java.util.Vector<GraphEdgeInt> edges
Edges of type GraphEdgeInt. Only used if (inFormat < LAY).


pos

public float[][] pos
Layout. Only used if (outFormat >= LAY).

Constructor Detail

GraphData

public GraphData()
Constructor.