behavior property

NodeFlowBehavior get behavior

The current behavior mode determining what interactions are allowed.

Use this to check capabilities:

if (controller.behavior.canDelete) {
  // Allow deletion
}

Implementation

NodeFlowBehavior get behavior => _behavior.value;