Commit Graph
140 Commits
Author SHA1 Message Date
Moritz KlackandGitHub 1dab08f36e feat(utils): add vanilla drag and panzoom (#3108)
* refactor(panzoom): create vanilla helper

* feat(svelte): add interaction example

* refactor(panzoom): cleanup

* Update function-runner.ts

* refactor(panzoom): cleanup

* refactor(panzoom): rename functions

* feat(utils): add vanilla drag helper (#3107)

* feat(utils): add vanilla drag helper

* refactor(drag): cleanup

* refactor(drag): cleanup

* chore(packages): cleanup

* refactor(panzoom): cleanup and simplify
2023-05-31 15:55:36 +02:00
moklick fb712a513f feat(react): add selectable option to edges 2023-05-17 13:26:52 +02:00
moklick 470b2ee571 Merge branch 'main' into feat/packages 2023-05-16 10:44:00 +02:00
moklick a72ab2f2dc refactor(base-edge): pass id to base edge path 2023-05-10 12:32:25 +02:00
moklick c428b906b7 refactor(handles): reduce re-renderings, handles on top of each other #3010 2023-05-09 17:08:14 +02:00
moklick 23c9d2a929 Merge branch 'main' into feat/packages 2023-03-28 16:27:18 +02:00
Moritz KlackandGitHub 9ed7d1a670 Merge pull request #2962 from wbkd/feat/edges-updatable
Feat/edges updatable
2023-03-27 16:56:17 +02:00
moklick 65b2d9ccef refactor(edgesUpdatable): pass to store 2023-03-27 16:53:55 +02:00
moklick 395a1586c3 refactor(handles): add connectionStart and connectionEnd handle to store, cleanup 2023-03-27 12:56:57 +02:00
braks 449c3055e0 chore(core): cleanup 2023-03-24 22:42:09 +01:00
braks b06629e75e feat(core): allow setting edges updatable to bool, source or target 2023-03-24 22:42:09 +01:00
moklick 2fd5319cf2 faet(handle): add isConnectableStart and isConnectableEnd 2023-03-24 17:36:14 +01:00
moklick ee8e618c9d chore(store): fix typo 2023-03-20 17:35:38 +01:00
moklick 0f2eee7706 chore(store): add current connection result closes #2916 2023-03-20 17:33:15 +01:00
moklick e09dd87e77 refactor(error-messages): prefix error keys with error closes #2919 2023-03-20 11:19:32 +01:00
moklick 6ee3c66371 refactor(svelte,react): use getHandleBounds from utils package 2023-03-14 13:17:20 +01:00
moklick 608768fd5b Merge branch 'main' into feat/packages 2023-03-14 11:23:32 +01:00
moklick 7383200388 fix(nodes): blur when node gets unselected closes #2887, closes #2886 2023-03-06 16:35:24 +01:00
moklick 06ae32d982 fix(handles): check if handle is connectable closes #2869 2023-03-06 15:31:44 +01:00
moklick 99ec9f0f03 feat(reactflow): add isValidConnection prop closes #2876 2023-03-02 17:42:07 +01:00
moklick 33b9a801fe refactor(svelte): cleanup node options and props 2023-03-02 15:31:37 +01:00
moklick df6c3381b1 refactor(utils): remove react dependencies 2023-03-02 14:32:39 +01:00
moklick 63bb2045f4 refactor(react/svelte): cleanup types 2023-02-28 18:16:51 +01:00
moklick b3de45ce1a refactor(core): use edge-utils 2023-02-22 10:23:26 +01:00
moklick 3920fca670 feat(packages): add @reactflow/system and @reactflow/utils 2023-02-16 21:54:09 +01:00
moklick a12c893226 refactor(packages): add @reactflow/system 2023-02-16 16:37:47 +01:00
moklick 88d4dda260 fix(PropsWithChildren): pass default generic 2023-02-13 16:05:15 +01:00
moklick 9bc76d19bb fix(connections): fix connections with handles bigger than connec radius closes #2814 2023-02-13 13:03:11 +01:00
Moritz KlackandGitHub 98f7cbc5bb Merge pull request #2819 from bcakmakoglu/fix/edge-updater
fix(core): avoid edge update if not using left mouse btn
2023-02-13 12:29:12 +01:00
braks 54509aa562 fix(core): avoid edge update if not using left mouse btn 2023-02-07 12:58:24 +01:00
moklick 230106da73 chore(connction-handler): cleanup 2023-02-06 02:00:35 +01:00
braks 1d3126e4fe fix(core): check if prevClosestHandle exists in onPointerUp 2023-02-06 00:56:23 +01:00
moklick b07d940dac chore(connections): check if handle + connection radius 2023-02-05 22:04:02 +01:00
moklick 7a652fc17c chore(connections): get fresh ref of onConnectEnd 2023-02-05 21:58:30 +01:00
moklick 23d1e65a72 feat(connection-line): add status class (valid or invalid) while in connection radius 2023-02-03 21:10:44 +01:00
moklick c48efe969f fix(ios): connection error + dont snap invalid connection lines 2023-02-03 20:40:32 +01:00
moklick 75a13e87bc refactor(handle): first check element below then connection radius 2023-01-30 11:39:19 +01:00
moklick b80efb7dd3 chore(app): cleanup 2023-01-26 10:42:50 +01:00
moklick 3078777b28 fix(connectionRadius): pass prop to store 2023-01-26 10:24:58 +01:00
moklick 54010e7ee6 refactor(errors): put in constants 2023-01-25 18:32:13 +01:00
moklick 9527261719 feat(onError): add onError prop #2772 2023-01-25 17:47:42 +01:00
moklick 3d6937b3e4 refactor(connectionline): separate edge renderer and connectionline 2023-01-25 17:47:13 +01:00
moklick f3806c6165 refactor(connection): cleanup 2023-01-24 14:17:55 +01:00
moklick 0a2c96fe3e feat(connections): support touch 2023-01-23 17:58:15 +01:00
moklick 24e8b8adc0 refactor(autopan): cleanup 2023-01-23 15:05:18 +01:00
moklick 00726085be refactor(connections): cleanup, naming 2023-01-19 17:35:06 +01:00
moklick 66b3a8e334 refactor(handle): naming things, cleanup 2023-01-19 15:52:39 +01:00
moklick 5af609696b feat(connection-radius): use closest handle / snappy edges #2759 2023-01-18 17:51:43 +01:00
moklick 1d036b2575 refactor(autoPan): naming things 2023-01-17 17:38:21 +01:00
moklick f2a4260ac9 feat(autoPan): add props, handle scale 2023-01-17 16:26:04 +01:00