getCategoryForNodeData method

String getCategoryForNodeData(
  1. Object nodedata
)

Find the category of a given node data, a string naming the node template or group template or part template that the Diagram should use to represent the node data. @param {Object} nodedata a JavaScript object represented by a node, group, or non-link. @return {string} @see #nodeCategoryProperty @see #setCategoryForNodeData

Implementation

_i2.String getCategoryForNodeData(_i2.Object nodedata) => _i4.callMethod(
      this,
      'getCategoryForNodeData',
      [nodedata],
    );