SIGN IN SIGN UP

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

0 0 78 TypeScript

refactor(editor): delegate graph viewport actions to JSONCrackRef

Route zoomIn/zoomOut/centerView/focusFirstNode in useGraph through
the ref exposed by jsoncrack-react instead of reimplementing them
against the raw ViewPort + DOM queries. This ensures the built-in
Controls, ZoomControl buttons, and keyboard shortcuts share the
same fit logic as the package, fixing subtle divergence between
the editor's "Fit to center" and the package's internal auto-fit.
A
AykutSarac committed
ece8b32314656477a744d95e2b5e361950dea50e
Parent: da0fac1