Commit Graph
117 Commits
Author SHA1 Message Date
moklick ee0d29029a refactor(state): replace redux with zustand 2021-10-13 12:54:01 +02:00
moklick 32ee964044 refactor(elements): split into nodes and edges 2021-10-09 11:33:10 +02:00
Moritz KlackandGitHub be3b451d1d Refactor: add possibility to use different keys or combinations as a key code (#1554)
* feat(keys): support for combinations and multiple possibilites for one action
* refactor(globalKeyHandler): pass deps to useEffect
* refactor(examples): define key codes outside of the component
2021-10-05 15:27:07 +02:00
datoslabs 0d497b6569 Add optional node dragHandle prop as DraggableCore handle.
#1413
2021-10-04 16:20:44 -04:00
DiamondDrake d51d677106 removed copy pasta null 2021-07-20 15:43:28 -04:00
DiamondDrake b7e63c17e7 Extend Connection Line props
Include Node and Handle in props passed to custom connection lines for advanced usage.
2021-07-20 15:39:11 -04:00
moklick 310bee0dc8 feat(fitView): add minZoom and maxZoom params closes #1301 2021-06-23 14:28:48 +02:00
moklick 27e2781d8c feat(props): add onEdgeUpdateEnd handler closes #1157 2021-05-29 15:12:31 +02:00
moklick 3232a33e9e feat(edgeUpdate): add onEdgeUpdateStart handler closes #1120 2021-04-30 16:09:46 +02:00
Анна Кузнецова f565676233 onEdgeDoubleClick support 2021-04-13 20:29:39 +05:00
moklick 66e7697e45 refactor(edge-labels): allow React component closes #1045 2021-03-29 14:21:34 +02:00
moklick c63992e3ff Revert "Merge pull request #1003 from TheUnderScorer/main"
This reverts commit 106f1f0b61, reversing
changes made to 9206e65522.
2021-03-29 13:26:31 +02:00
Przemysław Żydek a7e0ace550 feat(components): Return if document is undefined 2021-03-22 11:36:10 +01:00
Przemysław Żydek 96290483b1 feat(components): Support passing shadow root as document 2021-03-22 11:34:47 +01:00
Ryan Kois 67186b478a Support node double click handler. 2021-03-15 17:01:11 -07:00
moklick cd1baadf41 feat(edges): add mouse handler closes #987 2021-03-12 20:46:14 +01:00
Eugene Samonenko d89be58e54 feat(edgeUpdater): add edgeUpdaterRadius prop 2021-03-03 13:10:33 +02:00
moklick 3613c7c81d feat(hooks): useUpdateNodeInternals #916 2021-03-01 16:52:38 +01:00
moklick 254003919c refactor(edge-text): allow html attributes as props 2021-03-01 15:42:17 +01:00
moklick 0d1d802ed5 feat(edge): add onEdgeContextMenu handler #943 2021-02-26 10:51:25 +01:00
moklick ebbc192b8d fix(node-update): force update when source or target pos changes 2021-02-23 19:27:45 +01:00
moklick 5ca8184eb8 feat(useZoomPanHelper): add project function #910 2021-02-17 21:27:05 +01:00
moklick ba5286a105 refactor(elements): split edges and nodes 2021-02-11 18:45:05 +01:00
moklick 201a35dec2 Merge branch 'main' into refactor/redux 2021-02-11 17:52:54 +01:00
moklick 9fcb597ad2 refactor(fitViewParams): allow zero padding 2021-02-08 11:39:55 +01:00
Eugene Samonenko 004b0ef490 feat(fitView): use option includeHiddenNodes false by default 2021-02-07 12:41:30 +02:00
Eugene Samonenko 7dc2c69f2e feat(fitView): added fitViewParams prop to Control component 2021-02-07 10:13:16 +02:00
Eugene Samonenko 7324767c31 feat(fitView): added option to exclude hidden nodes 2021-02-06 12:20:20 +02:00
moklick 4d382eed57 refactor(store): clean up 2021-01-28 12:33:34 +01:00
moklick 477be8d492 refactor(onDrag): use same api as onNodeDragStart 2021-01-27 10:35:06 +01:00
moklick 3dedd615af feat(props): add onDrag handler 2021-01-26 18:17:29 +01:00
moklick 1a9493e3fa feat(props): add nodeExtent prop closes #854 2021-01-26 10:29:38 +01:00
moklick e9a7ade236 refactor(store): use redux instead of easy-peasy 2021-01-19 13:58:24 +01:00
moklick 1c01520a26 refactor(handle): pass children and standard HTMLAttributes props closes #833 2021-01-14 16:33:38 +01:00
moklick 782d567851 refactor(wrapEdge): pass source and target handle ids to edge closes #814 2021-01-11 12:51:03 +01:00
ShaMan123andGitHub ef25b1dd15 Update index.ts 2021-01-01 12:42:13 +02:00
ShaMan123andGitHub 83d59b86dd Update index.ts
more generics
2021-01-01 12:39:56 +02:00
ShaMan123andGitHub 39b388051e Update index.ts 2021-01-01 12:34:31 +02:00
ShaMan123andGitHub 6ed505f70d add type inference for data property 2021-01-01 11:21:55 +02:00
moklick 8b993a7542 feat(zoomPanHelper): add fitBounds func 2020-12-22 14:23:25 +01:00
moklick 869dcadae2 feat(useZoomPanHelper) add setCenter func 2020-12-22 14:11:28 +01:00
moklick 887ffbd0c4 refactor(resizeObserver): check if available 2020-12-01 12:04:13 +01:00
moklick c429ae7ca4 feat(props): add connection mode closes #702 2020-11-30 13:09:56 +01:00
moklick 8acd0c1972 Merge branch 'next' into feat/dragedge 2020-11-30 11:04:31 +01:00
moklick 425fd2e3c0 refactor(onConnectStart): also pass handleId closes #718 2020-11-26 16:20:53 +01:00
moklick 3a5ecfa666 Merge branch 'next' into feat/dragedge 2020-11-26 15:26:48 +01:00
moklick d17562e1a1 refactor(drag-edge): only handle when update function is passed 2020-11-26 15:17:31 +01:00
moklick e88dfdb650 refactor(nodes): use one resize observer for all nodes #723 2020-11-26 14:25:39 +01:00
moklick ee439857f0 refactor(zoomPanHelper): always return functions, add initialized flag #678 2020-11-11 10:25:56 +01:00
moklick ae6ce3cd05 feat(panOnScroll): add mode options free, vertical and horizontal 2020-11-10 17:56:19 +01:00