Printable idea sheet
graph_label_auto
reqlan rq/extension/presentation/graph.rq:111
Katz 0.184
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.
- 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
Interactive page: graph_label_auto