public class FlowLayoutVertex
extends java.lang.Object
Constructor and Description |
---|
FlowLayoutVertex() |
Modifier and Type | Method and Description |
---|---|
void |
addIncEdge(FlowLayoutEdge edge)
This method adds the given edge to the vertex incidence list.
|
int |
getIndex()
This method returns the index of this vertex.
|
java.lang.String |
getTag()
This method returns the tag of this vertex.
|
void |
setIndex(int index)
This method sets the index of this vertex.
|
void |
setTag(java.lang.String tag)
This method sets the tag of this vertex.
|
public void setIndex(int index)
index
- the vertex index.public int getIndex()
public void setTag(java.lang.String tag)
tag
- the vertex tag.public java.lang.String getTag()
public void addIncEdge(FlowLayoutEdge edge)
edge
- the edge to be add.