canLayout method

bool canLayout()

This predicate is called by Layout implementations to decide whether this Part should be positioned and might affect the positioning of other Parts.

This is false if #isLayoutPositioned is false, if #isVisible returns false, or if the part is in a temporary Layer.

This does not check Diagram#isReadOnly or Model#isReadOnly, but commands and tools should check those properties. @expose @return {boolean}

Implementation

_i2.bool canLayout() => _i4.callMethod(
      this,
      'canLayout',
      [],
    );