ccvisu
Class GraphVertex

java.lang.Object
  extended by ccvisu.GraphVertex

public class GraphVertex
extends java.lang.Object

Represents a vertex of the graph, including name, id, and several attributes.

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

Field Summary
 java.awt.Color color
           
 float degree
          (Weighted) Edge degree of the vertex.
 int id
           
 boolean isSource
          True if the vertex is the source vertex of an edge.
 java.lang.String name
           
 boolean showName
          True if the name shall be annotated in the visualization.
 boolean showVertex
          True if the vertex shall be displayed.
 
Constructor Summary
GraphVertex()
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

id

public int id

isSource

public boolean isSource
True if the vertex is the source vertex of an edge.


degree

public float degree
(Weighted) Edge degree of the vertex.


color

public java.awt.Color color

showVertex

public boolean showVertex
True if the vertex shall be displayed.


showName

public boolean showName
True if the name shall be annotated in the visualization.

Constructor Detail

GraphVertex

public GraphVertex()
Constructor.