controller library

NodeFlowController - the core state management for node graphs.

This module exports the NodeFlowController and all its extension APIs:

  • NodeApi: Node CRUD, positioning, selection, z-ordering
  • ConnectionApi: Connection management and validation
  • GraphApi: Graph-level queries and batch operations
  • ViewportApi: Viewport manipulation and navigation

Classes

GraphSceneProjection<T, C>
Maintains immutable render snapshots and emits coalesced scene deltas.
NodeFlowController<T, C>
High-performance controller for node flow state management.
SceneConnectionSnapshot<C>
An immutable renderer-facing projection of a Connection.
SceneDelta<T, C>
A coalesced immutable change between two scene revisions.
SceneDeltaListenable<T, C>
A granular signal carrying the most recently published scene delta.
SceneNodeSnapshot<T>
An immutable renderer-facing projection of a Node.
SceneSnapshot<T, C>
A stable immutable view of the complete renderer scene.

Enums

NodeAlignment
Alignment options for node alignment operations
SceneConnectionChange
The part of a retained connection representation changed by a mutation.
SceneNodeChange
The part of a retained node representation changed by a graph mutation.

Extensions

ConnectionApi on NodeFlowController<T, C>
Connection-related operations for NodeFlowController.
DirtyTrackingExtension on NodeFlowController<T, C>
Dirty tracking and spatial index management for NodeFlowController.
EditorInitApi on NodeFlowController<T, C>
Editor initialization API for NodeFlowController.
GraphApi on NodeFlowController<T, C>
Graph-level operations for NodeFlowController.
GroupApi on NodeFlowController<T, C>
Group and node monitoring operations for NodeFlowController.
NodeApi on NodeFlowController<T, C>
Node-related operations for NodeFlowController.
NodeFlowControllerAPI on NodeFlowController<T, C>
Factory methods and drag operations for NodeFlowController.
ResizeApi on NodeFlowController<T, C>
Resize operations for NodeFlowController.
SceneProjectionApi on NodeFlowController<T, C>
ViewportApi on NodeFlowController<T, C>
Viewport operations for NodeFlowController.