diff --git a/.changeset/curly-cows-repeat.md b/.changeset/curly-cows-repeat.md new file mode 100644 index 00000000..e9aa2e5e --- /dev/null +++ b/.changeset/curly-cows-repeat.md @@ -0,0 +1,7 @@ +--- +'@xyflow/svelte': patch +'@xyflow/system': patch +'@xyflow/react': patch +--- + +Fix fitView not working correctly for nodeOrigin other than [0,0] diff --git a/.changeset/cyan-frogs-lick.md b/.changeset/cyan-frogs-lick.md new file mode 100644 index 00000000..238d073b --- /dev/null +++ b/.changeset/cyan-frogs-lick.md @@ -0,0 +1,6 @@ +--- +'@xyflow/svelte': patch +'@xyflow/react': patch +--- + +Improve fitView to resepct any clamped node positions based on nodeExtent