moklick
46d42e7642
chore(store): cleanup
2023-12-13 17:05:13 +01:00
moklick
99a422f9f1
Merge branch 'main' into perf/noderenderer-minimap
2023-12-13 16:32:02 +01:00
Moritz Klack and GitHub
58ad111ec3
Merge pull request #3716 from xyflow/next
...
Svelte Flow 0.0.29
2023-12-13 12:47:18 +01:00
Moritz Klack and GitHub
a4ef1fa1ce
Merge branch 'main' into next
2023-12-13 12:47:09 +01:00
moklick
db68e28b1b
chore(svelte): update changelog
2023-12-13 12:46:13 +01:00
moklick
bdcaf7b761
chore(package): bump
2023-12-13 12:24:00 +01:00
moklick
41a28bf6e4
chore(dark-mode): slightly brighter edges
2023-12-13 12:17:07 +01:00
Moritz Klack and GitHub
68ba1f94e6
Feat: add hooks and functions for computed flows ( #3688 )
...
Feat: add hooks for computed flows
2023-12-13 11:55:29 +01:00
moklick
e7b29385d0
fix(svelte): allow null for keys
2023-12-13 11:54:38 +01:00
moklick
94e822caa8
chore(examples): add updateNode
2023-12-13 11:50:09 +01:00
moklick
b332b86090
refactor(svelte): replace on:connect with onconnect
2023-12-13 11:33:49 +01:00
moklick
8ceb1addc1
refactor(useSetNodeData): put function in useReactFlow/useSvelteFlow
2023-12-12 18:52:45 +01:00
moklick
75979922ea
refactor(hooks): rename useUpdateNodeData to useSetNodeData and adjust api
2023-12-12 13:51:58 +01:00
moklick
6cf8589ea8
refactor(react): shorter useHandleConnections params
2023-12-12 10:50:12 +01:00
Moritz Klack and GitHub
b0d4c1b081
Update ResultNode.tsx
2023-12-11 19:51:40 +01:00
moklick
fcf151f6cb
fix(svelte): shortcut delete/input issue #3712
2023-12-11 19:35:31 +01:00
moklick
d4d773d9c6
feat(svelte): add useHandleConnections, useNodesData and useUpdateNodeData
2023-12-11 18:31:37 +01:00
moklick
5d8c1bbff9
chore(useNodesData): example
2023-12-07 14:09:56 +01:00
moklick
959935dfb5
feat(hooks): add useNodesData, useUpdateNodeData, simplify useHandleConnections
2023-12-07 13:23:25 +01:00
moklick
a58f915697
refactor(connectionlookup): use maps instead of arrays
2023-12-06 17:49:34 +01:00
moklick
b6743a3cf3
refactor(react/handle-connection-state): cleanup
2023-12-04 14:23:42 +01:00
moklick
124df00f60
feat(react): connection lookup draft
2023-12-01 12:10:01 +01:00
moklick
b2a1ab0610
refactor(svelte): do not update nodes on pane click #3638
2023-11-30 14:46:07 +01:00
Moritz Klack and GitHub
0e196713c8
Merge pull request #3686 from xyflow/fix/edge-props
...
Fix/edge props
2023-11-30 14:04:48 +01:00
Moritz Klack and GitHub
dd8ab45a46
Merge branch 'next' into fix/edge-props
2023-11-30 13:03:41 +01:00
moklick
a70e25b1a2
refactor(svelte/edges): cleanup types and components
2023-11-30 12:58:44 +01:00
moklick
6825b486ec
refactor(svelte/edges): simplify
2023-11-30 10:41:18 +01:00
moklick
8f43160236
refactor(react/edges): simplify edge creation
2023-11-29 18:01:11 +01:00
Moritz Klack and GitHub
45d11c8f2e
Merge pull request #3681 from xyflow/svelte-on-edge-creation
...
feat(svelte) added onedgecreate function
2023-11-29 16:35:45 +01:00
moklick
95acea54d1
chore(react/svelte): cleanup edge creation
2023-11-29 16:33:57 +01:00
moklick
1d7803aff7
chore(svelte/onConnect): cleanup
2023-11-28 16:50:17 +01:00
Moritz Klack and GitHub
380b793b57
Merge pull request #3682 from xyflow/fix/svelte-colormode
...
CSS: prefix css vars with "xy"
2023-11-28 16:40:02 +01:00
moklick
a1e585fdcc
refactor(css-vars): prefix with xy and fix bgColor prop closes #3669
2023-11-28 16:35:44 +01:00
Peter
3f94dfa84c
feat(svelte) added onedgecreate function
2023-11-28 15:48:19 +01:00
moklick
e9eb0ed516
Merge branch 'next' of github.com:xyflow/xyflow into next
2023-11-28 15:46:52 +01:00
Peter
1eea7209a3
fix(svelte) fix getIntersectingNodes, closes #3675
2023-11-28 14:45:21 +01:00
Peter
f871617abe
renamed internal files in svelte for better alphabetical ordering
2023-11-28 14:35:18 +01:00
Peter
2e15fd72ee
fix(react) added internal edge components, to make id, source, handle optional on exported edges
2023-11-28 14:30:26 +01:00
Peter
43c78d6c11
forgotten file
2023-11-28 13:04:46 +01:00
Peter
0393409e89
fix(system) exportet Optional type, fix(svelte) adjusted exported edge types
2023-11-28 13:03:50 +01:00
Peter
9f538c6b7c
fix(svelte) split edges into internal/external. external edges dont require id, source, target anymore
2023-11-28 12:33:54 +01:00
moklick
7193b55ff2
chore(examples): cleanup
2023-11-27 11:29:43 +01:00
Ivan Akulov
d4484be0c3
Document the design decisions
2023-11-25 02:18:58 +01:00
Ivan Akulov
d1a5bc75ab
Optimize MiniMapNodes like NodeRenderer
2023-11-25 02:18:58 +01:00
Ivan Akulov
7ea2e664ed
Fix: pass a correct nodeLookup object in setDefaultNodesAndEdges()
...
This ensures `nodeLookup` is filled correctly at the first render of uncontrolled `ReactFlow`. (This was an issue before, but it caused severe visual issues with changes from previous commits.)
2023-11-25 02:18:57 +01:00
Ivan Akulov
0473161325
NodeRenderer: don’t rerender unless visible nodes change
2023-11-25 02:18:57 +01:00
Ivan Akulov
99d945f33c
Split NodeRenderer into NodeRenderer and NodeComponentWrapper
2023-11-25 02:18:57 +01:00
Ivan Akulov
24390162e0
Store: don’t regenerate internal nodes if user-provided nodes haven’t changed
2023-11-25 02:06:43 +01:00
Moritz Klack and GitHub
05bd2e8666
chore(svelte): changelog
2023-11-23 13:58:34 +01:00
Moritz Klack and GitHub
c8b18a0d43
Merge pull request #3659 from xyflow/next
...
Svelte Flow: release 0.0.28
2023-11-23 13:53:06 +01:00