setBehavior method
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);
}