GraphSceneProjection<T, C> class
Maintains immutable render snapshots and emits coalesced scene deltas.
Writes update O(1) entity entries immediately. Notifications are merged in a microtask so a MobX action or controller batch causes one render invalidation instead of rebuilding the widget tree for every changed entity.
Constructors
Properties
-
connectionDeltas
→ SceneDeltaListenable<
T, C> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nodeDeltas
→ SceneDeltaListenable<
T, C> -
final
- revision → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
snapshot
→ SceneSnapshot<
T, C> -
no setter
Methods
-
connectionSnapshot(
String id) → SceneConnectionSnapshot< C> ? -
dispose(
) → void -
nodeSnapshot(
String id) → SceneNodeSnapshot< T> ? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeConnection(
String id) → void -
removeNode(
String id) → void -
seed(
{required Iterable< Node< nodes, required Iterable<T> >Connection< connections}) → voidC> > -
toString(
) → String -
A string representation of this object.
inherited
-
upsertConnection(
Connection< C> connection, Set<SceneConnectionChange> changes) → void -
upsertNode(
Node< T> node, Set<SceneNodeChange> changes) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited