setBehavior method

void setBehavior(
  1. NodeFlowBehavior value
)

Sets the behavior mode for the canvas.

This controls what CRUD operations are allowed on nodes, ports, connections, and annotations.

Implementation

void setBehavior(NodeFlowBehavior value) {
  runInAction(() => _behavior.value = value);
}