reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/graph_ui_persistence

Idea detail

graph_ui_persistence

reqlan rq/extension/module/ideas_summary/graphical_graph.rq:93

block

Summary

Key and Controls state is stored in VS Code ExtensionContext. workspaceState under key GRAPH_UI_WORKSPACE_STATE_KEY ( reqlan. ideasSummary. graphUi ).
Shape and normalisation live in graph-ui-state.ts; the host reads / writes it from ideas-summary-panel.ts.
On webview ready the extension posts graphUiState; the webview posts persistGraphUiState ( debounced ) whenever AppState. patchGraphUi runs in app.svelte.ts.
Persisted fields: showKey, showControls, hiddenNodeTypes, layoutId, useCompound, compoundBasisId, animatePhysics, labelMode, maxNodes, truncationBasis, and the five physics sliders ( gravity, repulsion, linkStrength, linkDistance, damping ).
GraphView in GraphView.svelte treats app. graph. ui as the source of truth and applies layout / physics / hidden types / label mode to GraphCyController when those fields change.
The first graph load waits for graphUiState so restored node budget is included in loadGraph.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/extension/module/ideas_summary/graphical_graph.rq

community 27

community cluster

graphical_graph.rq

file cluster

reqlan rq/extension/module/ideas_summary

folder cluster

status: Not present

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

No attributes declared.

Ancestor context

No ancestor chain recorded.

Outbound references

KindIdeaPathSnippet
file_reference ../../../packages/extension/src/webview_module/ideas-summary-panel.ts reqlan rq/packages/extension/src/webview_module/ideas-summary-panel.ts ideas-summary-panel.ts
file_reference ../../../packages/extension/src/webview_module/shared/graph-ui-state.ts reqlan rq/packages/extension/src/webview_module/shared/graph-ui-state.ts graph-ui-state.ts
file_reference ../../../packages/extension/webviews/ideas-summary/components/GraphView.svelte reqlan rq/packages/extension/webviews/ideas-summary/components/GraphView.svelte GraphView.svelte
file_reference ../../../packages/extension/webviews/ideas-summary/state/app.svelte.ts reqlan rq/packages/extension/webviews/ideas-summary/state/app.svelte.ts app.svelte.ts

Inbound references

KindIdeaPathSnippet
references control_panel reqlan rq/extension/module/ideas_summary/graphical_graph.rq graph_ui_persistence
references graphical_graph reqlan rq/extension/module/ideas_summary/graphical_graph.rq graph_ui_persistence
references key_panel_toggle reqlan rq/extension/module/ideas_summary/graphical_graph.rq graph_ui_persistence

Unresolved references

KindIdeaPathSnippet
None

Local graph

Initialising graph…