Commit Graph
758 Commits
Author SHA1 Message Date
moklick 261452ec82 refactor(rollup): remove svgr 2022-04-11 12:14:33 +02:00
moklick fc9cf9604c feat(package): add umd version 2022-03-30 18:20:43 +02:00
moklick c5cd8a15e9 refactor(edges): stronger svg selector #2016 2022-03-30 11:28:05 +02:00
moklick b413c768dd fix(useKeyPress): handle combinations closes #2022 closes #2030 2022-03-30 11:24:23 +02:00
moklick 0f67bc5c8e fix(keyPress): reset on blur fixes #1931 2022-03-23 18:14:37 +01:00
moklick 83f094b711 fix(useKeyPress): reset on tab change #1912 2022-03-23 17:21:56 +01:00
moklick 7217cffe7e refactor(index): export getBezier ang getSimpleBezier center functions 2022-03-23 10:43:31 +01:00
Moritz KlackandGitHub 859571df7d Merge pull request #1988 from Sec-ant/patch
fix multiSelection when selectNodesOnDrag is false
2022-03-23 10:41:12 +01:00
Moritz KlackandGitHub b0bec1639a Merge pull request #1984 from Sec-ant/refactor-bezier-function
refactor Bezier function
2022-03-23 10:31:40 +01:00
moklick 903b795762 refactor(delete): only trigger when some node or edge is selected #1987 2022-03-22 18:29:34 +01:00
moklick d5c89a1d8f refactor(delete-nodes-edges): change exec order #1995 2022-03-22 18:02:53 +01:00
moklick d6f3a24051 fix(sub-flows): delete child nodes when parent gets deleted 2022-03-22 12:07:24 +01:00
moklick aeb85c6b1c refactor(nodeExtent): use global nodeExtent when parent extent is used incorrectly 2022-03-22 11:51:56 +01:00
moklick 3d446a6adb fix(nodeExtent): nodes node extent over global node extent 2022-03-21 22:03:31 +01:00
Christopher Möller 2e5e5285c5 fix(zIndex): calculate zIndex for nested flows correctly 2022-03-21 13:52:10 +01:00
Ze-Zheng Wu 3708402907 typo: quadratic -> cubic 2022-03-21 19:05:03 +08:00
Ze-Zheng Wu 6328b6fbe3 fix center calculation of simple Bezier edges 2022-03-21 18:18:07 +08:00
Ze-Zheng Wu 3b804d82ce fix center calculation of Bezier edges 2022-03-21 17:37:18 +08:00
Ze-Zheng Wu 0ee882d2c1 clean code 2022-03-21 17:06:46 +08:00
Ze-Zheng Wu 5902626abe fix multiSelection when selectNodesOnDrag is false 2022-03-19 14:53:23 +08:00
Ze-Zheng Wu c1a29beb1d assume toPosition is opposite to fromPosition 2022-03-18 19:00:03 +08:00
Ze-Zheng Wu 0ff63803b6 refactor Bezier function 2022-03-18 18:18:39 +08:00
Ze-Zheng Wu 2199ca3fd4 fix typo 2022-03-18 18:18:31 +08:00
Ze-Zheng Wu 9cc873d64a refactor connection line 2022-03-18 18:18:15 +08:00
moklick bef6157097 refactor(bezier): handle undirectional flows, use simple bezier for connection closes #1971 2022-03-17 13:09:17 +01:00
moklick bdc75c3bec chore(attr): add sponsor 2022-03-17 00:24:45 +01:00
Christopher Möller 2db2cddb5a chore(attribution): change link in attribution notice 2022-03-16 16:36:06 +01:00
moklick 5b32746422 fix(useReactFlow): use onNodesChange and onEdgesChange 2022-03-15 18:38:58 +01:00
moklick bfe06a5c48 chore(bezier-edge): less curvy by default 2022-03-14 19:27:41 +01:00
Joey Ballentine 9128967ea7 Fix merge conflict 2022-03-14 12:55:14 -04:00
Joey Ballentine 2018f930ad Merge remote-tracking branch 'wbkd/v10' into v10-bezier-fix 2022-03-14 12:54:46 -04:00
Joey Ballentine 6f51af2074 Improve UE-style Bezier Edge calculation 2022-03-14 12:52:18 -04:00
moklick 9fff0e5c69 refactor(bezier-edge): only do calculations when necessary 2022-03-14 17:44:33 +01:00
moklick bc5d1df10e refactor(edges): add BaseEdge 2022-03-14 16:27:44 +01:00
moklick b362c11851 refactor(edges): use new edge as default, add simplebezier 2022-03-14 16:01:00 +01:00
Joey Ballentine 3c96b07c9c Rename to "unreal" edge, fix for both horizontal and vertical handles 2022-03-14 01:06:26 -04:00
Joey Ballentine 726bc2e0b3 Add Unreal Engine style bezier edge 2022-03-14 01:06:14 -04:00
moklick 64a3c2d48a chore(attribution): update options 2022-03-06 15:14:14 +01:00
Himself65 a48276e475 fix: type error 2022-03-05 17:12:09 -06:00
moklick 414d7ec993 refactor(useReactFlow): pass generic nodedata and edgedata closes #1944 2022-03-05 12:49:26 +01:00
moklick ebf10fa26d refactor(rollup): treeshakable 2022-03-02 19:31:34 +01:00
moklick fe5337d1b8 refactor(keys): accept null as key #1463 2022-02-22 21:23:22 +01:00
moklick 6630935d9e refactor(nodeTypes/edgeTypes): show warning when not memoized closes #1620 2022-02-22 18:33:59 +01:00
moklick a45af5f0f8 refactor(handle): only listen to left click events closes #1852 2022-02-22 17:53:50 +01:00
moklick 67b71a9190 fix(selection-change): only trigger once 2022-02-22 17:49:10 +01:00
moklick 007bdabb89 fix(selection): deselect nodes when select edge and vice versa closes #1899 2022-02-22 17:38:53 +01:00
moklick a514c0ea84 refactor(onmove-handler): pass source event #1676 2022-02-22 17:08:09 +01:00
moklick 8e41c0d729 fix(types): onEdgesDelete 2022-02-22 16:30:03 +01:00
Himself65 76ff49196d fix: export type OnNodesDelete and OnEdgesDelete 2022-02-21 13:24:34 -06:00
moklick e011375c3d feat(props): add onNodesDelete and onEdgesDelete handler 2022-02-20 21:17:59 +01:00