Commit Graph
289 Commits
Author SHA1 Message Date
Peter 2ebdca0525 fix(svelte) hiding elements considers missing html elements 2023-11-08 13:12:34 +01:00
moklick d2b140ce5e fix(svelte): repair selection, add multi selection closes #3557 2023-10-31 18:31:24 +01:00
Moritz KlackandGitHub 3b781a299b Merge branch 'xyflow' into feat/ssr 2023-10-31 14:12:52 +01:00
moklick e899c379d0 chore(svelte): cleanup useSvelteFlow 2023-10-30 11:52:50 +01:00
moklick 78169c992b chore(examples): cleanup 2023-10-23 18:29:57 +02:00
moklick 9351a492ac chore(examples): cleanup astro 2023-10-23 18:05:19 +02:00
moklick 7bc35b59aa chore(examples): remove next example 2023-10-23 18:05:04 +02:00
moklick 6de9bbc916 refactor(react/svelte): simplify ssr usage 2023-10-23 16:37:28 +02:00
moklick f42f6314e2 chore(examples): cleanup 2023-10-23 16:02:12 +02:00
moklick d1589bac17 Merge branch 'xyflow' into feat/ssr 2023-10-23 12:15:21 +02:00
moklick 747c136ced chore(svelte): bump 2023-10-19 16:37:10 +02:00
moklick e5f877a9bd refactor(svelte): update node automatically when source-/ targetPos change 2023-10-19 15:47:09 +02:00
moklick 93a180b19d feat(examples): add next 2023-10-10 13:19:37 +02:00
moklick afa6365e12 chore(react/svelte): rename node.dimensions to node.size 2023-10-09 17:04:11 +02:00
moklick d78b2aad6f Merge branch 'xyflow' into feat/ssr 2023-10-05 20:31:55 +02:00
moklick 3431087ead Merge branch 'xyflow' into svelte-flow-get-intersecting-nodes 2023-10-05 20:14:42 +02:00
Moritz KlackandGitHub c38047af4c Merge pull request #3478 from wbkd/react-flow-use-react-flow
useReactFlow improvements
2023-10-05 18:55:03 +02:00
cdf1c4c3a6 refactor(svelte): cleanup useSvelteFlow, add functions (#3474)
* chore(svelte) removed nodes, edges from useSvelteFlow

* feat(svelte) added deleteElements to useSvelteFlow

* fix(svelte) parent div gets resized correctly, got rid of getBoundingClient Rect

* feat(svelte) added screenToFlowCoordinate

* feat(svelte) added flowToScreenCoordinate to useSvelteFlow

* chore(svelte) removed project from useSvelteFlow

* Delete examples/svelte/src/routes/add-node-on-drop/+server.ts

---------

Co-authored-by: Moritz Klack <info@moritzklack.com>
2023-10-05 18:53:57 +02:00
moklick 0888f69909 chore(examples): cleanup 2023-10-05 17:28:30 +02:00
Peter 2d2f642c82 feat(react) added screenToFlowCoordinate & flowToScreenCoordinate 2023-10-05 10:34:58 +02:00
moklick 86c041c2a0 feat(react): add basic ssr support 2023-10-04 16:03:23 +02:00
Peter 3091262065 feat(svelte) added isNodeIntersecting and getIntersectingNodes to svelte-flow 2023-10-02 12:49:38 +02:00
Moritz KlackandGitHub ae33cba887 feat(react/svelte): controlled viewport (#3461)
* feat(react): controlled viewport

* refactor(react): cleanup viewport

* feat(svelte): two way data binding for viewport, cleanup transform <> viewport stuff

* refactor(svelte): viewport stuff
2023-09-28 16:19:03 +02:00
moklick 2215b68438 fix(svelte): background lines 2023-09-27 17:26:51 +02:00
moklick 4e64b57d6d Merge branch 'xyflow' of github.com:wbkd/react-flow into xyflow 2023-09-27 16:11:03 +02:00
moklick 8a1a26385a feat(hooks): add useConnection 2023-09-27 16:10:16 +02:00
Peter 79ab4cb3e0 fix(svelte) corrected <g> positioning 2023-09-27 16:02:46 +02:00
Peter 1d8fc1bfaf fix(svelte) backup connection line now renders correctly 2023-09-27 15:53:17 +02:00
Peter 2e6c5d9191 Merge branch xyflow into svelte-flow-connection-line 2023-09-27 13:48:29 +02:00
Peter 66caa4c8ca chore(svelte) refactored connectionPath & connection 2023-09-27 13:40:03 +02:00
Peter beecd9623b refined example 2023-09-26 15:49:09 +02:00
Peter bba97aa01a feat(svelte) added connectionLineComponent 2023-09-26 15:45:06 +02:00
moklick 348f311fc7 feat(react,svelte): add nodeDragThreshold 2023-09-26 13:08:27 +02:00
moklick b3329253ed chore(svelte): cleanup examples 2023-09-26 12:46:32 +02:00
Peter 88e840ccc9 pull request review 2023-09-26 11:17:21 +02:00
Peter 26a28109a2 Merge branch xyflow into svelte-flow-fit-view-options 2023-09-26 11:08:29 +02:00
Peter 461eb1a829 Merge branch 'svelte-flow-default-edge-option' into svelte-flow-fit-view-options 2023-09-26 11:03:17 +02:00
Peter 5d742b4d9c pull request review 2023-09-26 10:57:02 +02:00
Peter e56e6a9a6b fix(svelte) only updated defaultEdgeOptions once on Mount 2023-09-26 10:20:13 +02:00
Moritz KlackandGitHub b297870586 Merge branch 'xyflow' into svelte-flow-connection-mode 2023-09-25 17:17:12 +02:00
Moritz KlackandGitHub 8c2cf9bffe Merge pull request #3448 from wbkd/svelte-flow-on-edge-context-menu
feat(svelte) added on:edgecontextmenu
2023-09-25 17:15:33 +02:00
Peter 7b5d98fc82 fix(examples) added connectionMode prop to examples 2023-09-25 16:29:49 +02:00
Peter 9fe6dc57f4 fix(examples) removed connectionMode prop from overview 2023-09-25 16:28:17 +02:00
Peter 75434d059b feat(svelte) added connectionMode prop 2023-09-25 15:58:12 +02:00
Peter 852372f41b feat(svelte) added on:edgecontextmenu 2023-09-25 15:32:40 +02:00
Peter 439916e619 fix(react) fitViewOptions.nodes are now working as intended 2023-09-25 13:46:22 +02:00
Peter ada5b94673 feat(svelte) add fitViewOptions, closes #3440 2023-09-25 12:58:04 +02:00
Peter 339df4c651 feat(svelte) add defaultEdgeOptions, closes #3437 2023-09-25 10:36:31 +02:00
Peter 8100390142 feat(svelte) add attributionPosition and proOptions, closes #3424 2023-09-25 10:00:38 +02:00
Peter 6b7e72b06c feat(svelte) add autoPanOnConnect autoPanOnNodeDrag props 2023-09-21 12:59:56 +02:00