setGroupKeyForNodeData method

void setGroupKeyForNodeData(
  1. Object nodedata,
  2. dynamic key
)

Change the container group for the given node data, given a key for the new group. @param {ObjectData} nodedata a JavaScript object represented by a node, group, or non-link. @param {string|number|undefined} key This may be undefined if there should be no containing group data. @see #nodeGroupKeyProperty @see #getGroupKeyForNodeData

Implementation

void setGroupKeyForNodeData(
  _i2.Object nodedata,
  _i2.dynamic key,
) {
  _i4.callMethod(
    this,
    'setGroupKeyForNodeData',
    [
      nodedata,
      key,
    ],
  );
}