Idea detail
graph_label_auto
reqlan rq/extension/presentation/graph.rq:111
Summary
In Labels auto mode, visibility follows viewport zoom continuously rather than a hard cut. ( fade )
Below a low zoom threshold labels are fully hidden; above a slightly higher threshold they are fully opaque; between those thresholds opacity ramps briefly through a muted / semi-transparent phase ( GRAPH_LABEL_FADE_START → GRAPH_LABEL_FADE_END ).
Labels start fully invisible during graph initialisation and layout settling so text paint does not lag those phases; zoom fade only applies once settle / reframe has finished.
Hovered or dragged nodes remain fully opaque even when ambient auto opacity is low or zero.
Zoom and Fit from view_controls / reframe_view must update this opacity on each paint or zoom event.
Applies to Ideas Summary GraphCyController and HTML export canvas graph alike.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | graph-cy-controller.ts, graph-cytoscape.ts, app.js |
| status | done |
| tests | graph-label-opacity.test.ts, html_export.rs:html_export_writes_ts_page_template_set_and_embeds_assets |
Ancestor context
No ancestor chain recorded.
Outbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | view_controls | reqlan rq/extension/presentation/graph.rq | view_controls |
| references | reframe_view | reqlan rq/extension/presentation/graph.rq | reframe_view |
| file_reference | "../../../packages/extension/webviews/shared/graph/graph-cy-controller.ts" | packages/extension/webviews/shared/graph/graph-cy-controller.ts | graph-cy-controller.ts |
| file_reference | "../../../packages/extension/webviews/shared/graph/graph-cytoscape.ts" | packages/extension/webviews/shared/graph/graph-cytoscape.ts | graph-cytoscape.ts |
| file_reference | "../../../crates/reqlan-export/assets/app.js" | crates/reqlan-export/assets/app.js | app.js |
| file_reference | "../../../packages/extension/test/graph-label-opacity.test.ts" | packages/extension/test/graph-label-opacity.test.ts | graph-label-opacity.test.ts |
| file_reference | "../../../crates/reqlan-export/tests/html_export.rs:html_export_writes_ts_page_template_set_and_embeds_assets" | crates/reqlan-export/tests/html_export.rs | html_export.rs:html_export_writes_ts_page_template_set_and_embeds_assets |
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | html_export_graph_label_auto | reqlan rq/core_analysis/html_export.rq | graph_label_auto |
| references | html_export_graph_interaction | reqlan rq/core_analysis/html_export.rq | graph_label_auto |
| references | miniature_graph_pane | reqlan rq/extension/local-context/activitybar-panels/minigraph.rq | graph_label_auto |
| references | graph_cy_controller | reqlan rq/extension/presentation/graph.rq | graph_label_auto |
| references | view_controls | reqlan rq/extension/presentation/graph.rq | graph_label_auto |
| references | graph_labels | reqlan rq/extension/presentation/graph.rq | graph_label_auto |
| references | graph_label_modes | reqlan rq/extension/presentation/graph.rq | graph_label_auto |
| references | graphical_graph | reqlan rq/extension/workspace-summary/ideas_summary/graphical_graph.rq | graph_label_auto |
| references | ui_controls | reqlan rq/extension/workspace-summary/ideas_summary/graphical_graph.rq | graph_label_auto |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…