copiesGroupKey property

bool get copiesGroupKey

Gets or sets whether #copySelection and #copyToClipboard copy the node data property whose value is the containing group data's key.

Set this property to true if you want a copy/paste of a node to automatically have the new node be a member of the original group. Caution: this only has an effect if the Diagram's Diagram#model is a GraphLinksModel.

The default value is false.

Implementation

_i2.bool get copiesGroupKey => _i4.getProperty(
      this,
      'copiesGroupKey',
    );
set copiesGroupKey (bool value)

Implementation

set copiesGroupKey(_i2.bool value) {
  _i4.setProperty(
    this,
    'copiesGroupKey',
    value,
  );
}