Component

Component

Holds information about a connected component.

Constructor

new Component(node, id)

Default constructor, assigns the given id and adds the node to this component.
Parameters:
Name Type Description
node in this component.
id of this component.
Source:

Members

id

Id of the bar.
Source:

nodes

Nodes contained in this component.
Source:

Methods

contains(id) → {*}

Checks if the component contains a node with the given id.
Parameters:
Name Type Description
id of the node.
Source: