Merge pull request #5067 from xyflow/enhance/fitView

Enhance fitView
This commit is contained in:
Moritz Klack
2025-03-27 12:04:48 +01:00
committed by GitHub
30 changed files with 457 additions and 347 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@xyflow/react': minor
---
You can now express paddings in fitViewOptions as pixels ('30px'), as viewport percentages ('20%') and define different paddings for each side.
+7
View File
@@ -0,0 +1,7 @@
---
'@xyflow/react': patch
'@xyflow/svelte': patch
'@xyflow/system': patch
---
Fix fitView not working immediately after adding new nodes