Expand description
state.rs
GraphPluginState — the Tauri-managed plugin state.
Holds in-memory entity and list snapshots so the Rust side can serve
graph_get_entity / graph_get_list without a round-trip to SQLite.
The canonical source of truth is the TS graph store; this is a mirror
kept up-to-date by command handlers.
Structs§
- Graph
Plugin State - Plugin-managed state, guarded by async
RwLockfor multi-window safety. - List
Entry - Per-list storage keyed by
query_key.
Type Aliases§
- Entity
Map - Per-entity storage keyed by
(entity_type, entity_id). - ListMap
- Snapshot
Map - Per-snapshot storage keyed by
storage_key.