reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/graph_loading

Idea detail

graph_loading

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

block

Summary

the extension pushes graphSlice when the index is ready — no empty waitingForIndex wedge.
ideas-summary-panel.ts sets graphSlicePending on loadGraph and delivers the slice when the index becomes ready ( including via index status updates ).
Index status posts must not await graph slice builds, so sync progress keeps updating the Index tab.
webview state in app.svelte.ts is query, slice, loading, rendering, and error only.
App. init attaches the window message listener during App. svelte script setup ( before child onMount ) so loadGraph replies are never dropped.
GraphView marks a slice as synced only in onRendered ( after cytoscape flush + layout ), not before syncSlice is queued.
Webview → extension posts go through vscode.ts which JSON-clones payloads so Svelte $ state proxies are structured-clone safe.
GraphView remount reuses app. graph. slice when present; it only loadGraphs when there is no slice and nothing in flight, or force-retries after an error.
GraphView mounts only while the graph tab is active ( see TabPanels ); per graph_cy_controller do not keep cytoscape alive under display: none.

Jump to outbound references

Jump to inbound references

Navigation

Source file

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

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/webviews/ideas-summary/lib/vscode.ts reqlan rq/packages/extension/webviews/ideas-summary/lib/vscode.ts vscode.ts
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
None

Unresolved references

KindIdeaPathSnippet
references graph_cy_controller graph_cy_controller

Local graph

Initialising graph…