|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccvisu.GraphVertex
Represents a vertex of the graph, including name, id, and several attributes.
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 |
java.lang.String name
int id
boolean isSource
float degree
java.awt.Color color
boolean showName
Constructor Detail |
public GraphVertex()
Method Detail |
public void toggle_showName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |