moklick
f2b36f2d33
refactor(svelte): prevent jumping nodes
2023-10-23 16:00:20 +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
c7a533bffe
chore(svelte): fix types for event handlers
2023-10-16 15:53:36 +02:00
moklick
d78b2aad6f
Merge branch 'xyflow' into feat/ssr
2023-10-05 20:31:55 +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
f37a2d9a19
feat(svelte): ssr
2023-10-05 17:27:53 +02:00
Moritz Klack and GitHub
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
moklick
4e64b57d6d
Merge branch 'xyflow' of github.com:wbkd/react-flow into xyflow
2023-09-27 16:11:03 +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
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
moklick
348f311fc7
feat(react,svelte): add nodeDragThreshold
2023-09-26 13:08:27 +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 Klack and GitHub
b297870586
Merge branch 'xyflow' into svelte-flow-connection-mode
2023-09-25 17:17:12 +02:00
Moritz Klack and GitHub
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
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
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
moklick
1a935de3f9
feat(svelte): add onError prop closes #3423
2023-09-21 16:00:53 +02:00
Peter
6b7e72b06c
feat(svelte) add autoPanOnConnect autoPanOnNodeDrag props
2023-09-21 12:59:56 +02:00
moklick
5fc3ee297e
Merge branch 'xyflow' into svelte-flow-remove-search-for-node
2023-09-20 15:55:00 +02:00
moklick
c61a9f3c9b
chore(svelte): cleanup node drag handlers, add to changelog
2023-09-20 15:51:17 +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
Peter
1c2bcbef34
fix(svelte) adjusted svelteflow types for connect events
2023-09-19 15:23:10 +02:00
Peter
e27566f279
fix(svelte) fixed type for on:connectstart
2023-09-19 14:54:43 +02:00
Peter
edbc67e8c4
feat(svelte) fixed on:connectstart and on:connectend
2023-09-19 14:36:04 +02:00
moklick
89610ccd29
fix(nodes/edges): handle hidden attribute closes #3387
2023-09-14 18:24:15 +02:00
Moritz Klack and GitHub
bd922889b4
feat(styles): one stylesheet source for react and svelte ( #3350 )
...
* feat(styles): create stylesheets for react and svelte based on one source
* refactor(styling): cleanup
* refactor(postcss): share a config
* refactor(postcss): replace env hack with env file
2023-08-24 14:02:57 +02:00
moklick
9e5d94291c
refactor(svelte): prevent unnecessary re-renders for node updates, selected always boolean #3336
2023-08-17 10:55:17 +02:00
moklick
a096efbcfe
feat(svelte): add panActivationKey
2023-08-16 13:56:52 +02:00
moklick
1f64b29b50
chore(svelte): use correct css var names for defaults
2023-06-29 12:05:20 +02:00
moklick
a31b19b21f
fix(svelte): rename on:node:click to on:nodeclick
2023-06-28 15:27:49 +02:00
moklick
019dab3be1
refactor(svelte/react): cleanup exports
2023-06-15 13:44:21 +02:00
Moritz Klack and GitHub
65d1c3bbd4
Refactor/vanilla store utils ( #3138 )
...
* feat(stores): use vanilla store utils
* fix(store-utils): keep dimensions if possible
* feat(utils): add nodeDimension and panBy utils
* fix(svelte): use correct updateDim func
* refactor(react): cleanup store
* chore(tests): use new imports
2023-06-13 15:55:06 +02:00
moklick
0739528761
feat(svelte): add onlyRenderVisibleElements option
2023-06-08 16:31:39 +02:00
moklick
c1e2499028
refactor(svelte/react): use edge layouting vanilla helpers
2023-06-08 15:46:35 +02:00
moklick
98d9d3e51a
feat(svelte): cleanup styling, use css variables
2023-06-06 19:44:39 +02:00
moklick
84603bd966
chore(svelte): use prettier
2023-06-06 15:46:19 +02:00
moklick
002156ea33
refactor(svelte): simplify nodes and edges store handling
2023-06-06 14:27:40 +02:00