findPartForData method

Part? findPartForData(
  1. Object data
)

Look for a Part, Node, Group, or Link corresponding to a Model's data object. We recommend that you call #findNodeForData or #findLinkForData if you are looking for a Node or a Link. @param {Object} data a JavaScript object matched by reference identity @return {Part} an existing Part in this Diagram that was created because its Part.data was the data in the Diagram's Model.

Implementation

_i3.Part? findPartForData(_i2.Object data) => _i4.callMethod(
      this,
      'findPartForData',
      [data],
    );