Constructor
new Node(label, properties)
Builds a node object.
Parameters:
Name | Type | Description |
---|---|---|
label |
string | node label. |
properties |
Map | properties map. |
Methods
setId(id)
Sets the node id.
Parameters:
Name | Type | Description |
---|---|---|
id |
number | (integer) |
toString() → {string}
Returns:
The string representation of the node.
- Type
- string