Idea detail
reframe_view
reqlan rq/extension/presentation/graph.rq:160
Summary
Shared viewport behaviour for every surface that mounts GraphCyController ( Ideas Summary graph tab, activity bar mini graph, and future consumers ).
Implementation: reframeGraphToViewport and GraphCyController. reframeToViewport in graph-cy-controller.ts.
manual_reframe
auto_reframe
reframe_animation
Constants: GRAPH_VIEWPORT_PADDING ( 36 px padding around the element bounding box ), GRAPH_REFRAME_ANIMATION_MS ( 400 ms animated transition ).
Reframes resize the cytoscape container first, then fit all elements and centre the camera.
Does not clear selection, centreId, user-pinned drag positions, or live physics state — viewport only.
Navigation
Attributes
No attributes declared.
Ancestor context
No ancestor chain recorded.
Outbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| file_reference | "../../../packages/extension/webviews/shared/graph/graph-cy-controller.ts" | packages/extension/webviews/shared/graph/graph-cy-controller.ts | graph-cy-controller.ts |
| references | manual_reframe | reqlan rq/extension/presentation/graph.rq | manual_reframe |
| references | auto_reframe | reqlan rq/extension/presentation/graph.rq | auto_reframe |
| references | reframe_animation | reqlan rq/extension/presentation/graph.rq | reframe_animation |
| comment_link | reframe_view | reqlan rq/extension/presentation/packages/extension/webviews/shared/graph/graph-cy-controller.ts | * rq:reframe_view |
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | graph_cy_controller | reqlan rq/extension/presentation/graph.rq | reframe_view |
| references | view_controls | reqlan rq/extension/presentation/graph.rq | reframe_view |
| references | graph_label_auto | reqlan rq/extension/presentation/graph.rq | reframe_view |
| references | ui_controls | reqlan rq/extension/workspace-summary/ideas_summary/graphical_graph.rq | reframe_view |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…