Commit Graph
243 Commits
Author SHA1 Message Date
moklick 3d6937b3e4 refactor(connectionline): separate edge renderer and connectionline 2023-01-25 17:47:13 +01:00
Moritz KlackandGitHub fe0f59adf4 Merge pull request #2771 from wbkd/richschulz/improve-typing-for-node-type
Types: improve typing for node type
2023-01-25 14:18:02 +01:00
moklick 2aef1ab4da chore(types): make node type optional again 2023-01-25 14:15:41 +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
moklick 86f7a9a43d feat(nodes): move canvas when nodes are at the edge of the canvas #2753 2023-01-16 18:23:20 +01:00
moklick e413bceb19 feat(connecting): move pane when mouse is close to edge of canvas #2753 2023-01-16 16:39:48 +01:00
moklick ce33860274 chore(packages): bump 2023-01-11 15:13:19 +01:00
moklick a74102d416 chore(core): use correct dev task 2023-01-11 15:03:03 +01:00
moklick f43c7eba55 refactor(selection): keep node selection on right click #2733 2023-01-11 14:55:02 +01:00
moklick 2f6afd815c chore(deps): update and cleanup 2023-01-11 13:47:13 +01:00
moklick ab91fcce43 chore(zustand): update 2023-01-10 19:24:01 +01:00
moklick 45fb34cc7b chore(packages): butmp 2023-01-10 17:16:57 +01:00
Moritz KlackandGitHub ec10422fae Merge pull request #2740 from wbkd/michaelspiss-patch-1
EdgeRenderer: check both handles for connection mode loose
2023-01-10 17:11:37 +01:00
moklick 656eea88c1 fix(context-menu): dont trigger when doing right mouse button drag closes #2734 2023-01-10 12:50:19 +01:00
moklick f33cd6e3ac fix(subflows): adjust positions before call fit view closes #2737 2023-01-10 12:39:37 +01:00
Michael SpissandGitHub 71c77bd70b Check both handle types in if ConnectionType is Loose
Fixes #2630 by concatenating both handle types instead of only looking at targets if any exist. The initial behavior does not change, as targets get chosen preferred if no handle id is given. This applies only to `ConnectionType.Loose`
2022-12-22 00:25:46 +01:00
moklick 1662f92e13 chore(packages): bump 2022-12-19 12:47:31 +01:00
moklick 43a16e61e6 chore(selection): cleanup 2022-12-19 12:22:42 +01:00
Moritz KlackandGitHub 1451a73d0e Merge pull request #2695 from wbkd/feat/elevate-nodes
feat(nodes): add prop to disable automatic elevation of nodes on select
2022-12-19 10:58:44 +01:00
Christopher Möller 7318210a2c feat(nodes): add prop to disable automatic elevation of nodes on select 2022-12-15 18:57:01 +01:00
moklick 3cc7bdcb5c chore(base-edge): check labelX labelY 2022-12-15 17:33:22 +01:00
moklick eaaf4f6d08 chore(base-edge): label coords optional 2022-12-15 17:30:35 +01:00
moklick 7ef2910808 chore(versions): bump 2022-12-15 12:48:16 +01:00
moklick dca41aaf0b refactor(panOnDrag): boolean or numbers for configuration 2022-12-15 12:43:52 +01:00
moklick 72a4f4a5fb refactor(key-handling): multi sleect when input focused closes #2650 2022-12-15 11:06:24 +01:00
moklick 2a7effd291 fix(selection): do not select hidden nodes closes #2679 2022-12-15 10:54:40 +01:00
moklick 0342cd475f chore(changesets): enter prerelease mode and bump packages 2022-12-13 17:25:41 +01:00
moklick 9ba39ae49f fix(defaultViewport): clamp invalid zoom values 2022-12-12 17:43:33 +01:00
moklick 0a2529d26e chore(figma-controls): cleanup 2022-12-12 16:52:31 +01:00
moklick ee2f39f2fe feat(props): add panActivationKeyCode 2022-12-12 16:35:39 +01:00
moklick d34ecbf802 refactor(selectionMode): rename options 2022-12-12 16:19:06 +01:00
moklick aaa0854c62 chore(figma-controls): rename props 2022-12-08 22:06:07 +01:00
moklick 08faffacee refactor(selection): improve performance 2022-12-08 21:58:24 +01:00
moklick 36e4e773ce chore(flow-renderer): cleanup 2022-12-08 21:12:16 +01:00
moklick 0c890c3137 Merge branch 'next-release' into jackfishwick-main 2022-12-08 21:10:50 +01:00
moklick 57064ff096 refactor(figma-controls): update prop names and types 2022-12-08 21:08:45 +01:00
moklick badacf763b Merge branch 'main' of github.com:jackfishwick/react-flow into jackfishwick-main 2022-12-08 18:32:33 +01:00
Moritz KlackandGitHub 4d5e2ac3a6 Merge pull request #2657 from wbkd/refactor/node-drag
Refactor Nodes: only trigger drag event when change happened
2022-12-08 18:27:29 +01:00
Moritz KlackandGitHub 5940af2e30 Merge pull request #2659 from wbkd/fix/translate-extent
fix(minimap): use translateExtent on pan
2022-12-08 18:27:17 +01:00
moklick c51ae89eeb refactor(store): use getNodes function 2022-12-08 18:13:35 +01:00
moklick 860af7caed fix(minimap): use translateExtent on pan 2022-12-08 17:02:55 +01:00
moklick b34ccd19e9 refactor(nodes): only trigger drag event when change happened 2022-12-08 13:44:25 +01:00
moklick 7d7660f735 chore(packages): bump versions 2022-12-06 18:43:33 +01:00