- Fixed an issue with onDrag errors
smartRouting
mode dmitrygalperin- Pass node into ports to enable customisation fenech
- Add
nodeMouseEnter
andnodeMouseLeave
callbacks fenech - Add
onDragCanvasStop
andonDragNodeStop
callbacks lordi
- The
onNodeClick
action will no longer be called when dragging fenech - Fix data consistency when
snapToGrid
is on/off sinan - Update node size when size changes in the DOM zetavg
- Prevent links and ports displaying as active when in readonly mode.
- Updated styled components to
^5.0.0
yuyokk
- Readonly mode should prevent link edits loonyuni
- Only call
onCanvasDrop
if data exists in drop event loonyuni - Improve CustomNode storybook example timbrunette
- Fixed an error that was being thown when creating links in readonly mode
- Readonly mode yukai-w
- Offset position to dropped item position phlickey
snapToGrid
andgridSize
config options msteinmnvalidateLink
config function msteinmn- misc other fixes msteinmn
- Config object that is accessible by all components and actions
- Changed the callback type signatures so they are always objects rather than functions with params. If you use custom callbacks, these will need to be updated.
- Upgrade Typescript and Storybook.
- Prevent re-rendering for nodes and links that are not in use. alexkuz PR7
- Render only nodes currently visible for user. alexkuz PR7
- Fix calculating link position when canvas is not positioned in top left corner. alexkuz PR7
- Added a new onNodeSizeChange action that is required for calculating which nodes are visible. If you are using external state, this will need to be implemented.
- Fixed a bug where links would not work on firefox tantayou999
- Start keeping a changelog
- Remove storybook and lodash from from dist alexcuz PR5