copiesParentKey property

bool get copiesParentKey

Gets or sets whether #copySelection and #copyToClipboard copy the node data property whose value is the tree-parent node 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 tree-child of the original tree-parent node. Caution: this only has an effect if the Diagram's Diagram#model is a TreeModel.

The default value is false.

Implementation

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

Implementation

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