ccvisu
Class GraphVertex

java.lang.Object
  extended byccvisu.GraphVertex

public class GraphVertex
extends java.lang.Object

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

Version:
$Revision: 1.2 $; $Date: 2005/08/22 12:42:46 $
Author:
Dirk Beyer

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

Field Detail

name

java.lang.String name

id

int id

isSource

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


degree

float degree
(Weighted) Edge degree of the vertex.


color

java.awt.Color color

showName

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

Constructor Detail

GraphVertex

public GraphVertex()
Constructor.

Method Detail

toggle_showName

public void toggle_showName()
Toggles the annotation of the vertex. Used by the interactive visualization (DISP output format) to switch on or off the annotation by mouse click.