public class GraphNode extends java.lang.Object implements GraphConstants
Modifier and Type | Field and Description |
---|---|
int |
nodeType
Type of node.
|
int |
x
The x and y position of the node
|
int |
y
The x and y position of the node
|
DIRECTED, DOUBLE, NORMAL, PLURAL_DUMMY, REVERSED, SINGULAR_DUMMY
Constructor and Description |
---|
GraphNode(java.lang.String id,
java.lang.String label)
Constructor
|
GraphNode(java.lang.String id,
java.lang.String label,
int type)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object n)
Returns true if passed in argument is an instance
of GraphNode and is equal to this node.
|
public int x
public int y
public int nodeType