reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/key_panel_toggle

Idea detail

key_panel_toggle

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

block

Summary

the key panel should be able to toggle inclusion / visibility of the different node types.
Node-type rows in GraphKeyPanel.svelte are toggle buttons; hidden types render dimmed with a struck-through label.
Toggleable types are block, one-liner, ideaset, focused idea, and external file — GraphNodeTypeId in graph-theme.ts, classified per node by graphNodeTypeId ( same priority as node fill colour ).
GraphView tracks hidden types and calls GraphCyController. setHiddenNodeTypes in graph-cy-controller.ts, which flags matching nodes with data typeHidden; a display: none stylesheet rule in graph-cytoscape.ts hides them, and cytoscape hides edges whose endpoint is hidden.
Compound containers whose members are all hidden are hidden too. Hiding is client-side visibility only: the slice still contains the nodes, node / edge counts are unchanged, and flags reapply after every slice sync.
Key open state and hidden node types persist per graph_ui_persistence.

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

graph_ui_persistence

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 ["../../../packages/extension/src/webview_module/shared/graph-ui-state.ts"]; the host reads / writes it from ["../../../packages/extension/src/webview_module/ideas-summary-panel.ts"]. On webview ready the extension posts graphUiState; the webview posts persistGraphUiState ( debounced ) whenever AppState. patchGraphUi runs in ["../../../packages/extension/webviews/ideas-summary/state/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 ["../../../packages/extension/webviews/ideas-summary/components/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.

Outbound references

KindIdeaPathSnippet
file_reference ../../../packages/extension/webviews/ideas-summary/components/GraphKeyPanel.svelte reqlan rq/packages/extension/webviews/ideas-summary/components/GraphKeyPanel.svelte GraphKeyPanel.svelte
file_reference ../../../packages/extension/webviews/shared/graph/graph-cy-controller.ts reqlan rq/packages/extension/webviews/shared/graph/graph-cy-controller.ts graph-cy-controller.ts
file_reference ../../../packages/extension/webviews/shared/graph/graph-cytoscape.ts reqlan rq/packages/extension/webviews/shared/graph/graph-cytoscape.ts graph-cytoscape.ts
file_reference ../../../packages/extension/webviews/shared/graph/graph-theme.ts reqlan rq/packages/extension/webviews/shared/graph/graph-theme.ts graph-theme.ts
references graph_ui_persistence reqlan rq/extension/module/ideas_summary/graphical_graph.rq graph_ui_persistence

Inbound references

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

Unresolved references

KindIdeaPathSnippet
None

Local graph

Initialising graph…