ccvisu
Class GraphData

java.lang.Object
  extended byccvisu.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.3 $; $Date: 2005/09/30 15:28:08 $
Author:
Dirk Beyer

Field Summary
 java.util.Vector edges
          Edges of type GraphEdgeInt.
 java.util.Map nameToVertex
          Maps a vertex name to a GraphVertex.
 float[][] pos
          Layout.
 java.util.Vector vertices
          Maps a vertex id to a GraphVertex.
 
Constructor Summary
GraphData()
          Constructor.
 
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 vertices
Maps a vertex id to a GraphVertex.


nameToVertex

public java.util.Map nameToVertex
Maps a vertex name to a GraphVertex.


edges

public java.util.Vector 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.