feat: [US-018] - Canvas pan and zoom controls

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Gustavo Henrique Santos Souza de Miranda 2026-01-21 12:43:20 -03:00
parent c314ae7b8c
commit 25627ddb0f
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import { useCallback } from 'react'
import ReactFlow, {
Background,
BackgroundVariant,
Controls,
useNodesState,
useEdgesState,
addEdge,
@ -67,6 +68,7 @@ export default function FlowchartEditor({
fitView
>
<Background variant={BackgroundVariant.Dots} gap={16} size={1} />
<Controls position="bottom-right" />
</ReactFlow>
</div>
)