rune-langium / visual-editor/src / EditorState
Interface: EditorState
Defined in: packages/visual-editor/src/store/editor-store.ts:76
Snapshot of visual editor state tracked by the zustand store.
Config
Read-only from outside the store — use EditorActions methods to mutate. Accessible via useEditorStore(selector).
Properties
| Property | Type | Defined in |
|---|---|---|
activeFilters | GraphFilters | packages/visual-editor/src/store/editor-store.ts:85 |
detailPanelOpen | boolean | packages/visual-editor/src/store/editor-store.ts:86 |
edges | TypeGraphEdge[] | packages/visual-editor/src/store/editor-store.ts:79 |
layoutOptions | LayoutOptions | packages/visual-editor/src/store/editor-store.ts:90 |
nodes | TypeGraphNode[] | packages/visual-editor/src/store/editor-store.ts:78 |
searchQuery | string | packages/visual-editor/src/store/editor-store.ts:83 |
searchResults | string[] | packages/visual-editor/src/store/editor-store.ts:84 |
selectedNodeId | string | null | packages/visual-editor/src/store/editor-store.ts:82 |
validationErrors | ValidationError[] | packages/visual-editor/src/store/editor-store.ts:87 |
visibility | VisibilityState | packages/visual-editor/src/store/editor-store.ts:93 |