findNodesConnected method

Iterator<Node> findNodesConnected([
  1. String? pid
])

Returns an iterator over the Nodes that are connected with this node in either direction, perhaps limited to the given port id on this node.

The results may include this node itself if there is a reflexive link connecting this node with itself. @param {string|null=} pid A port identifier string; if null the link's portId is ignored and all links are included in the search. @return {Iterator.

Implementation

_i3.Iterator<_i3.Node> findNodesConnected([_i2.String? pid]) =>
    _i4.callMethod(
      this,
      'findNodesConnected',
      [pid ?? _i5.undefined],
    );