reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/graph_cytoscape

Idea detail

graph_cytoscape

reqlan rq/extension/library/graph.rq:18

block

Summary

builds cytoscape elements and stylesheet from a generic node / edge slice.
registers batch layout options ( fcose, cola, breadthfirst, circle, concentric, grid, random ) and seeds positions for new nodes.
exposes CompoundBasis ( single-membership folder tree ) and GroupBasis ( flat multi-membership ) as grouping inputs.
per graph-cytoscape.ts and graph-theme.ts.
getLayoutConfig sets fit: false for initial ( mode = = = ' initial' ) batch layouts so auto_reframe owns the first viewport fit; relayout modes may still fit via the layout algorithm.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/extension/library/graph.rq

community 19

community cluster

graph.rq

file cluster

reqlan rq/extension/library

folder cluster

status: Not present

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

No attributes declared.

Ancestor context

auto_reframe

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.

Outbound references

KindIdeaPathSnippet
file_reference ../../../packages/extension/webviews/shared/graph/graph-cytoscape.ts packages/extension/webviews/shared/graph/graph-cytoscape.ts graph-cytoscape.ts
file_reference ../../../packages/extension/webviews/shared/graph/graph-theme.ts packages/extension/webviews/shared/graph/graph-theme.ts graph-theme.ts
references auto_reframe reqlan rq/extension/library/graph.rq auto_reframe

Inbound references

KindIdeaPathSnippet
references reframe_animation reqlan rq/extension/library/graph.rq graph_cytoscape

Unresolved references

KindIdeaPathSnippet
None

Local graph

Initialising graph…