isVisible property

bool get isVisible

Gets the current visibility state.

Returns true if the node is visible on the canvas. When false, the node is hidden and its ports cannot participate in connections.

Implementation

bool get isVisible => _isVisible.value;
set isVisible (bool value)

Sets the visibility state in a MobX action.

Updates are wrapped in runInAction to ensure proper state management.

Implementation

set isVisible(bool value) => runInAction(() => _isVisible.value = value);