Commit Graph
3 Commits
Author SHA1 Message Date
Andreas Schultz 4d6c6ffc7d Also add 'handleType' parameter to 'onEdgeUpdateEnd' callback analogous to 'onEdgeUpdateStart' 2022-04-11 07:39:22 +02:00
Andreas Schultz 68ec5d87d7 Change boolean 'isSourceHandle' parameter to handleType: HandleType in 'onEdgeUpdateStart' function
- In order to make the function better extendable in the future.
2022-04-04 09:53:19 +02:00
Andreas Schultz e8aa8737ae Pass isSourceHandle flag to onEdgeUpdateStart
- This allows to know during an edge update which side of the edge is getting dragged by the user.
- Use cases include showing custom validation hints to the user during an edge update, e.g. which handles can be connected to and which not. This would otherwise not be possible without knowing which side is updated.
2022-03-11 09:03:40 +01:00