fix(graph): remove translateExtent limit for unlimited panning

STORY:
Users couldn't pan to see nodes at the bottom of large graphs.
The translateExtent was limiting the viewport to a fixed area.

FIX:
Removed translateExtent entirely to allow unlimited panning in all
directions. Users can now explore the full graph regardless of size.

CLOSES: bb-ui2.21 (fitView/panning fix)
This commit is contained in:
zenchantlive 2026-02-15 23:24:15 -08:00
parent 083e710388
commit 976fd0c361

View file

@ -273,10 +273,7 @@ function WorkflowGraphInner({
fitViewOptions={{ padding: 0.3 }}
minZoom={0.3}
maxZoom={1.5}
translateExtent={[
[-500, -500],
[3000, 2500],
]}
// translateExtent removed for unlimited panning
nodes={flowModel.nodes}
edges={flowModel.edges}
nodeTypes={nodeTypes}