Idea detail
auto_reframe
reqlan rq/extension/library/graph.rq:168
Summary
The graph should automatically fit to the viewport when the loaded node set changes — without requiring the user to click " Fit to view ".
After each successful syncSlice, GraphCyController compares the sorted node-id set of the incoming slice with fittedNodeSetKey ( the set the viewport was last fitted to ).
When they differ, finishRender triggers an automatic reframe via reframeToViewport.
Triggers when any node is added or removed from the slice ( new neighbourhood, focus change, filter change that changes membership ).
Does not trigger for metadata-only updates on the same node ids ( label, colour, isCenter flag, etc. ) — those keep the user's current pan / zoom.
Does not trigger on requestLayout relayout when the node-id set is unchanged.
Attributes
No attributes declared.
Ancestor context
No ancestor chain recorded.
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | graph_cy_controller | reqlan rq/extension/library/graph.rq | auto_reframe |
| references | graph_cytoscape | reqlan rq/extension/library/graph.rq | auto_reframe |
| references | reframe_animation | reqlan rq/extension/library/graph.rq | auto_reframe |
| references | reframe_view | reqlan rq/extension/library/graph.rq | auto_reframe |
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Initialising graph…