addNode method

LayoutVertex addNode(
  1. Node node
)

This convenience method makes sure there is a LayoutVertex in this network corresponding to a Node. @param {Node} node @return {LayoutVertex} a vertex in this network.

Implementation

_i3.LayoutVertex addNode(_i3.Node node) => _i4.callMethod(
      this,
      'addNode',
      [node],
    );