Skip to content

Node

Node is a base class from which all Node type classes are derived from. This means that Node methods can be used by any of the derived classes. Additionally, any derived type can be passed to a function that takes a Node as an input parameter.

Methods

Node:setDescription(description)

Sets the description of a Node

Params

  • description
    • string
    • Description of node

Node:getDescription()

Used to get the description of a Node

Returns: string description of node

Node:setDisplayName(display_name)

Sets the display name of a Node

Params

  • display_name
    • string
    • Display name of node

Node:getDisplayName()

Used to get the display name of a Node

Returns: string display name of node

Node:getNodeId(node)

Used to get the NodeId of a Node

Returns: NodeId NodeId of node