Commit Graph
113 Commits
Author SHA1 Message Date
moklick e798e94275 refactor(react/svelte): use nodeLookup 2023-11-14 15:52:48 +01:00
moklick 90912a6c1a reafactor(react/svelte): rename some util functions #3528 2023-11-13 10:45:06 +01:00
moklick bcbb0693c2 Merge branch 'xyflow' into svelte-flow-fix-hidden 2023-11-08 18:19:13 +01:00
Peter 2ebdca0525 fix(svelte) hiding elements considers missing html elements 2023-11-08 13:12:34 +01:00
Peter 118152bd2e fix(svelte) id should not get applied to edge path 2023-11-08 10:39:33 +01:00
moklick 2a38a010f6 fix(svelte): subflows 2023-11-01 15:21:53 +01:00
moklick 39f7829726 chore(svelte): update attribution 2023-10-31 18:37:13 +01:00
moklick d2b140ce5e fix(svelte): repair selection, add multi selection closes #3557 2023-10-31 18:31:24 +01:00
moklick 22cb43543d fix(svelte): handle interactionWidth closes #3558 2023-10-31 15:31:19 +01:00
Moritz KlackandGitHub 3b781a299b Merge branch 'xyflow' into feat/ssr 2023-10-31 14:12:52 +01:00
Peter 9e985457a4 fix(svelte) undefined edge classes do not append "undefined" as class 2023-10-30 17:20:23 +01:00
moklick b42f3a95e5 fix(svelte): use class prop for BaseEdge component 2023-10-23 18:18:17 +02:00
moklick 2435a0da8f feat(svelte): ssr fitView 2023-10-23 18:05:45 +02:00
moklick f2b36f2d33 refactor(svelte): prevent jumping nodes 2023-10-23 16:00:20 +02:00
Peter d8d9401655 svelte(chore) edge components are now exported 2023-10-23 12:24:37 +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 7a61c9e331 chore(svelte): prevent warnings when using default node types 2023-10-19 15:56:31 +02:00
moklick e5f877a9bd refactor(svelte): update node automatically when source-/ targetPos change 2023-10-19 15:47:09 +02:00
moklick bce7a49c73 chore(svelte): add class to BaseEdge comp 2023-10-16 15:54:43 +02:00
moklick c7a533bffe chore(svelte): fix types for event handlers 2023-10-16 15:53:36 +02:00
moklick 0cfecc823f feat(svelte): add group node 2023-10-11 11:17:15 +02:00
moklick d062214536 chore(react/svelte): rename nodes/edges to initialNodes/initialEdges for Provider comp 2023-10-09 17:12:49 +02:00
moklick afa6365e12 chore(react/svelte): rename node.dimensions to node.size 2023-10-09 17:04:11 +02:00
moklick a46104cf40 refactor(svelte): cleanup nodes selection 2023-10-09 15:51:53 +02:00
moklick 6f9ebbf609 fix(react/svelte): select nodes on click when nodeDragThreshold > 0 2023-10-09 15:22:58 +02:00
moklick d78b2aad6f Merge branch 'xyflow' into feat/ssr 2023-10-05 20:31:55 +02:00
moklick f37a2d9a19 feat(svelte): ssr 2023-10-05 17:27:53 +02:00
Peter e46c3cddaa fix(svelte) prevent unecessary rerenders & execution of reactive statements, closes #3336 2023-10-04 11:32:32 +02:00
Peter 969fa8280a fix(svelte-flow) style is now applied properly to the connectionLine 2023-10-04 10:37:39 +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 335e116d44 chore(svelte): cleanup 2023-09-27 16:15:43 +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 66caa4c8ca chore(svelte) refactored connectionPath & connection 2023-09-27 13:40:03 +02:00
Peter 854a9d3606 feat(svelte) added connectionLineContainerStyle and connectionLineStyle props 2023-09-26 16:01:00 +02:00
Peter bba97aa01a feat(svelte) added connectionLineComponent 2023-09-26 15:45:06 +02:00
Peter 852372f41b feat(svelte) added on:edgecontextmenu 2023-09-25 15:32:40 +02:00
Moritz KlackandGitHub 89b10863f2 Merge pull request #3430 from wbkd/svelte-flow-auto-pan
feat(svelte) add autoPanOnConnect autoPanOnNodeDrag props
2023-09-21 15:37:40 +02:00
moklick 75712a1d6c chore(svelte): cleanup edgewrapper 2023-09-21 15:35:13 +02:00
Peter 6b7e72b06c feat(svelte) add autoPanOnConnect autoPanOnNodeDrag props 2023-09-21 12:59:56 +02:00
Peter fdb50e8ba4 fix(svelte) edge classes get applied 2023-09-21 10:27:05 +02:00
moklick d595e0b6bf fix(svelte): dont pan when dragHandle is beinng used 2023-09-20 16:15:04 +02:00
moklick 5fc3ee297e Merge branch 'xyflow' into svelte-flow-remove-search-for-node 2023-09-20 15:55:00 +02:00
Peter c7f62885aa fix(svelte) removed the need to search through all nodes when moving mouse over node 2023-09-20 15:34:19 +02:00
Peter 5741392644 feat(svelte) added on:nodecontextmenu 2023-09-20 15:14:52 +02:00
Peter 3c3239afd8 feat(svelte) added nodedrag events 2023-09-20 12:05:16 +02:00
moklick a33351fb9f refactor(svelte): use same data passing convention for all custom events 2023-09-19 15:43:37 +02:00
moklick accfc9d200 chore(svelte): cleanup handle component 2023-09-19 15:37:08 +02:00
Peter 1c2bcbef34 fix(svelte) adjusted svelteflow types for connect events 2023-09-19 15:23:10 +02:00