Idea detail
webview_threading
reqlan rq/extension/presentation/graph.rq:54
block
Summary
VS Code webviews run JavaScript on a single main thread, like a browser tab.
Heavy synchronous work — cytoscape layout iterations, large element builds, unbounded loops — blocks UI updates until it finishes.
Layout iteration count scales with node count ( capped ) rather than running unbounded defaults.
Do not restart layout synchronously on layoutstop; hand off to the graph-physics simulation, which integrates one step per requestAnimationFrame instead of blocking.
Navigation
Attributes
No attributes declared.
Ancestor context
No ancestor chain recorded.
Outbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | imperative_view_controllers | reqlan rq/codestyle/typescript.rq | webview_threading |
| references | performance | reqlan rq/extension/local-context/activitybar.rq | webview_threading |
| references | graphical_graph | reqlan rq/extension/workspace-summary/ideas_summary/graphical_graph.rq | webview_threading |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…