public class GraphNode extends 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(String id,
String label)
Constructor
|
GraphNode(String id,
String label,
int type)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object n)
Returns true if passed in argument is an instance
of GraphNode and is equal to this node.
|
Copyright © 2021 University of Waikato, Hamilton, NZ. All rights reserved.