Features
We added a new useUpdateNodeInternals
hook that gives you the possibility to update the node internals like handles, size, position programatically. Usage:
const updateNodeInternals = useUpdateNodeInternals();
// somewhere in your app
updateNodeInternals('node-id');
We also added a onEdgeContextMenu
prop and it's possible to pass standard html attributes to the EdgeText
component now.
- feat(hooks): useUpdateNodeInternals #916 (3613c7c)
- refactor(edge-text): allow html attributes as props (2540039)
- feat(utils): export getTransformForBounds func (1745320)
- feat(edge): add onEdgeContextMenu handler #943 (0d1d802)