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.23 $; $Date: 2007/12/15 01:20:50 $
Author:
Dirk Beyer

Field Summary
 boolean auxiliary
          True if the vertex shall never be included in the visualization.
 java.awt.Color color
           
 float degree
          (Weighted) Edge degree of the vertex.
 boolean fixedPos
          True if the position of this node should not be changed by the layouter.
 boolean hasSelfLoop
          True if the vertex is reflexive and a self loop should be drawn.
 int id
           
 boolean isSource
          True if the vertex is the source vertex of an edge.
 java.lang.String name
           
 Position pos
          Position of this vertex.
 boolean showName
          True if the name shall be annotated in the visualization.
 boolean showVertex
          True if the vertex shall be displayed.
 
Constructor Summary
GraphVertex()
           
 
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

showName

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


showVertex

public boolean showVertex
True if the vertex shall be displayed.


auxiliary

public boolean auxiliary
True if the vertex shall never be included in the visualization.


fixedPos

public boolean fixedPos
True if the position of this node should not be changed by the layouter.


hasSelfLoop

public boolean hasSelfLoop
True if the vertex is reflexive and a self loop should be drawn.


pos

public Position pos
Position of this vertex.

Constructor Detail

GraphVertex

public GraphVertex()