Class: Node

Node(label, properties)

A node within the graph.

Constructor

new Node(label, properties)

Builds a node object.
Parameters:
Name Type Description
label string node label.
properties Map properties map.
Source:

Methods

setId(id)

Sets the node id.
Parameters:
Name Type Description
id number (integer)
Source:

toString() → {string}

Source:
Returns:
The string representation of the node.
Type
string