Commit Graph
13 Commits
Author SHA1 Message Date
moklick d4d773d9c6 feat(svelte): add useHandleConnections, useNodesData and useUpdateNodeData 2023-12-11 18:31:37 +01:00
moklick 7193b55ff2 chore(examples): cleanup 2023-11-27 11:29:43 +01:00
Moritz KlackandGitHub ab5eef220f Feat: dark mode (#3652)
* feat(react/svelte): add dark mode defaults

* refactor(darkmode): minimap, edges, edge labels

* chore(style): edge label color

* feat(colorMode): add colorMode prop light/dark/system

* chore(examples): cleanup

* test(colorMode): add tests

* chore(base.css): add dark base

* chore(examples): cleanup
2023-11-23 12:15:36 +01:00
b8affc1c82 Svelte NodeToolbar with E2E (#3643)
* Added NodeToolbar

* Added comments & fixed default behaviour in svelte

* Added e2e-tests for NodeToolbar component & added data-id to react NodeToolbar

* refactor(svelte/NodeToolbar): cleanup

* refactor(node-toolbar): add system utils

---------

Co-authored-by: moklick <info@moritzklack.com>
2023-11-20 18:40:43 +01:00
Peter eca85310e1 restrucutred svelte examples 2023-10-25 13:23:37 +02:00
moklick e5f877a9bd refactor(svelte): update node automatically when source-/ targetPos change 2023-10-19 15:47:09 +02:00
moklick 3431087ead Merge branch 'xyflow' into svelte-flow-get-intersecting-nodes 2023-10-05 20:14:42 +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
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
Peter bba97aa01a feat(svelte) added connectionLineComponent 2023-09-26 15:45:06 +02:00
moklick f919cb152d feat(svelte): add updateNodeInternals 2023-09-14 19:31:15 +02:00
Moritz KlackandGitHub dcc38794a6 chore(svelte-examples): pull out of lib package (#3363)
* chore(svelte-examples): pull out of lib package

* chore(svelte-examples): cleanup

* chore(examples): add readme files
2023-08-31 16:44:27 +02:00