Allow getEdgeId to be overridden

This commit is contained in:
Adam Krebs
2025-11-11 18:53:21 -05:00
parent 57a2134b52
commit 8598b6bc2a
2 changed files with 38 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
'@xyflow/system': minor
---
Allow custom `getEdgeId` function in `addEdge` and `reconnectEdge`. You can now pass a custom edge ID generator via the options parameter, enabling custom edge ID schemes. Closes #5180.