findNodeForData method

Node? findNodeForData(
  1. Object nodedata
)

Look for a Node or Group corresponding to a model's node data object. @param {Object} nodedata a JavaScript object matched by reference identity; use #findNodesByExample if you want to find those Nodes whose data matches an example data object @return {Node} an existing Node or Group in this Diagram that was created because its Part.data was the node data in the Diagram's Model. This will be null if there is no such part or if it's just a Part or Link.

Implementation

_i3.Node? findNodeForData(_i2.Object nodedata) => _i4.callMethod(
      this,
      'findNodeForData',
      [nodedata],
    );