Commit Graph
40 Commits
Author SHA1 Message Date
moklick 23c9d2a929 Merge branch 'main' into feat/packages 2023-03-28 16:27:18 +02:00
Artyom Sovetnikov 5da65313ec fix memo 2023-03-21 16:42:19 +03:00
Artyom Sovetnikov 40139805f3 add zoom step to minimap 2023-03-21 16:34:00 +03:00
Artyom Sovetnikov 9303bf1b32 add inverse pan to minimap 2023-03-21 16:27:01 +03:00
moklick 13e7cc340c feat(core): support origin on node level closes #2874 2023-03-14 12:42:06 +01:00
Moritz KlackandGitHub 97756dee60 Merge pull request #2906 from wbkd/feat/custom-minimap-nodes
feat: add prop to render custom node inside minimap
2023-03-13 13:10:02 +01:00
Hayleigh Thompson 2acc5b7706 ♻️ Rename 'MiniMapNode' prop to 'nodeComponent' for greater consistency. 2023-03-09 14:46:46 +00:00
Hayleigh Thompson 1415ed003e Add an optional 'MiniMapNode' field to 'MiniMapProps'.
This lets users supply a custom SVG node to render in the minimap instead of the default rectangle.
2023-03-09 14:25:23 +00:00
Hayleigh Thompson 46f3f81dc4 🚚 Move 'MiniMapNodeProps' into shared types module. 2023-03-09 14:01:55 +00:00
moklick d85ce8283d chore(plugins): add data-testids closes #2854 2023-03-06 16:44:45 +01:00
moklick ab91fcce43 chore(zustand): update 2023-01-10 19:24:01 +01:00
moklick e1145f3529 fix(minimap): nodes outside of viewport clicakbel closes #2680 2022-12-15 10:47:57 +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 851b8e3e0f fix(getRectOfNodes): handle node pos correctly closes #2641 2022-12-06 16:50:20 +01:00
David LounsbroughandGitHub 686fb87b35 Fix y position on minimap 2022-11-28 13:05:27 -06:00
Christopher Möller d00c8536db fix(subflow-node-origin): use helper function in minimap, calculate extent corrrectly when using nodeOrigin and subflows 2022-11-24 22:36:00 +01:00
Christopher Möller 3685420ebf fix(subflow-node-origin): use node origin in node position calculation 2022-11-24 16:55:51 +01:00
moklick 5897f6de02 feat(minimap): add maskStrokeWidth and maskStrokeColor 2022-11-15 16:47:15 +01:00
moklick 7fab7b6a54 Merge branch 'next-release' into fix/selection-rect 2022-11-15 16:09:35 +01:00
moklick b70ede04f3 fix(nodeOrigin): repair multi selection and fitView 2022-11-15 16:00:21 +01:00
Christopher Möller a5963e62b6 feat(minimap): turn ariaLabel into an optional property 2022-11-14 15:28:15 +01:00
Christopher Möller 52816debba feat(minimap): add prop to configure the minimap title 2022-11-07 13:55:20 +01:00
moklick a246f720e0 refactor(minimap): cleanup events when not pannable or zoomable 2022-11-02 11:30:48 +01:00
moklick a96044b2a2 feat(minimap): add pannable and zoomable props, remove interactive-minimap package 2022-11-01 22:45:08 +01:00
moklick 7b1dc1b18c chore(types): cleanup 2022-10-21 11:35:56 +02:00
moklick fad6cf706e refactor(packages) support react 17 and 18 2022-09-19 16:07:30 +02:00
moklick 588d8fc02e chore(packages): use @reactflow org for packages 2022-08-29 17:18:05 +02:00
moklick f113cf4e19 chore(packages): use temporary scope name 2022-08-29 12:08:13 +02:00
moklick 94463cd0be refactor(styling): dont inject styles 2022-08-09 18:42:12 +02:00
moklick 817cd2038b refactor(minimap): cleanup 2022-08-08 15:13:44 +02:00
moklick 7150e0369e feat(linting): add eslint 2022-08-08 13:34:00 +02:00
Moritz KlackandGitHub 97c22ace71 Refactor: CSS handling (#2344)
* refactor(css): only load base styles, add css task, cleanup exports
* style(base): add edge label bg
* refactor(css): use css-utils
* feat(core): add Panel component
* refactor(background): cleanup
* refactor(css-handling): cleanup
2022-08-05 18:36:32 +02:00
Moritz KlackandGitHub f7dc75b0f3 Feat: basic keyboard controls and better WAI-ARIA defaults (#2333)
* feat(nodes): focusable and moveable with keys
* refactor(key-handling): cleanup, handle selections
* feat(edges): selectable with keys
* refactor(nodes-edges): cleanup keyboard controls and aria- attrs
* refactor(nodes): node needs to be selected for arrow keys
* refactor(minimap): create const for labelledby

closes #1033
2022-08-01 13:58:18 +02:00
Christopher Möller c17ac0a9e5 refactor(styles): move styles for additional components into their own packages 2022-07-21 14:26:09 +02:00
Christopher Möller 272d0dfcb4 refactor(background): move background to own package, replace example import 2022-07-21 13:25:04 +02:00
Christopher Möller 229c156d79 refactor(minimap): use minimap package in examples 2022-07-21 12:02:43 +02:00
Christopher Möller be4dd6f1fa refactor(examples): switch examples from cra to nextjs 2022-07-19 17:23:26 +02:00
Christopher Möller 62c417263c fix(minimap): add entrypoint 2022-07-19 15:16:13 +02:00