Repository navigation
Deterministic Graphs
Category: Deterministic Computing · Kind: Runtime
Mutable Managed and Native graph storage uses stable graph handles and deterministic topology operations.
Common use: Represent simulation networks and dependency relationships.
Includes: DeterministicGraph, NativeDeterministicGraph, GraphNodeHandle, GraphEdgeHandle.
Related: Deterministic Graph Algorithms · Frozen Deterministic Graphs · Canonical Checkpoints and Codecs · Graphs V2.
Source: Core/DataStructure/Deterministic/Collections/Managed/DeterministicGraph.cs (local snapshot; published module) · Core/DataStructure/Deterministic/Collections/Native/NativeDeterministicGraph.cs (local snapshot; published module) · Core/DataStructure/Deterministic/Collections/.
PersistentDeterministicGraph and NativePersistentDeterministicGraph publish immutable graph versions from an exclusive copy-on-write workspace. Version leases, configurable retention and batch mutation APIs keep previous states available while new versions are derived or selected.
Common use: Preserve graph history for branching simulations, rollback and readers that need a stable version. Combine with frozen graph views and deterministic collection snapshots.
Source (local snapshot): Core/DataStructure/Deterministic/Collections/Managed/PersistentDeterministicGraph.cs · Core/DataStructure/Deterministic/Collections/Native/NativePersistentGraph.Generated.cs. See the published collections module.
TryWriteDelta, TryValidateDelta and TryApplyDelta exchange forward or reversible graph changes. The writer selects a patch or full checkpoint by encoded size; explicit codecs and baseline/target hashes validate the transfer.
Common use: Synchronize graph state or restore a previous version without always transferring a full snapshot. Combine with canonical checkpoints, field codecs and deterministic network sessions.
Source (local snapshot): Core/DataStructure/Deterministic/Collections/GraphDeltaWire.cs · Core/DataStructure/Deterministic/Collections/Managed/GraphDeltaBindings.Generated.cs · Core/DataStructure/Deterministic/Collections/Native/GraphDeltaBindings.Generated.cs. See the published collections module.
Category · Full catalog · Common combinations
Documentation snapshot: 2026-10-11
Search aliases: DeterministicGraph, NativeDeterministicGraph, GraphNodeHandle, GraphEdgeHandle
Tags: legendarytools/feature, legendarytools/deterministic-computing
- Architecture and State
- Asset and Content Editors
- Assets and Identity
- Async and Startup
- Audio
- Binding and Scripting
- Code and Automation Editors
- Collections and Algorithms
- Deterministic Computing
- Developer Tooling
- Editor Interface and Diagnostics
- Gameplay and Attributes
- Math and Extensions
- Persistence and Time
- ScriptableObject Architecture
- Spatial and Geometry
- UI and Navigation
- Unity Runtime Helpers