|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EmbeddableGraph
Field Summary | |
---|---|
static char |
embedAlways
|
static char |
embedIfRequired
|
Method Summary | |
---|---|
void |
addEdge(int to)
Adds an edge from the last added vertex to a to . |
void |
addVertex()
Adds a vertex to this graph. |
float[][] |
get2DCoordinates()
|
float[] |
get2DCoordinates(int vertex)
|
float[][] |
get3DCoordinates()
|
float[] |
get3DCoordinates(int vertex)
|
java.lang.String |
getComment()
|
EdgeIterator |
getEdgeIterator(int vertex)
|
int |
getSize()
Returns the order of the graph, i.e. |
int |
getValency(int vertex)
Returns the valency of vertex i.e. |
boolean |
has2DCoordinates()
|
boolean |
has3DCoordinates()
|
void |
set2DCoordinates(int vertex,
float[] coords)
|
void |
set3DCoordinates(int vertex,
float[] coords)
|
void |
setComment(java.lang.String comment)
|
Field Detail |
---|
static final char embedAlways
static final char embedIfRequired
Method Detail |
---|
java.lang.String getComment()
void setComment(java.lang.String comment)
void addVertex()
void addEdge(int to)
to
.
to
- The destination of the edge to add.int getSize()
int getValency(int vertex)
vertex
i.e. The number of edges that
are incident with this vertex.
vertex
- The vertex for which the valency should be returned
vertex
.EdgeIterator getEdgeIterator(int vertex)
boolean has2DCoordinates()
float[] get2DCoordinates(int vertex)
float[][] get2DCoordinates()
void set2DCoordinates(int vertex, float[] coords)
boolean has3DCoordinates()
float[] get3DCoordinates(int vertex)
float[][] get3DCoordinates()
void set3DCoordinates(int vertex, float[] coords)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |