isTreeLeaf property

bool get isTreeLeaf

Gets whether this node has no tree children.

The initial value is true, meaning that there are no links connected with child nodes in the direction given by Diagram#isTreePathToChildren. This value changes automatically as link connections are added to or removed from this node. Links for which Link#isTreeLink is false are ignored.

Implementation

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

Implementation

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