moklick
24a63391fc
chore(packages): bump
2024-03-16 12:22:07 +01:00
moklick
4a96118b82
chore(changelog): update
2024-03-14 16:26:59 +01:00
Moritz Klack and GitHub
a534b34dba
Merge pull request #4019 from xyflow/svelte-a11y-warnings
...
Svelte Flow: a11y warnings, add preprocess, update dependencies
2024-03-14 16:25:15 +01:00
Moritz Klack and GitHub
09ca0afe81
Merge pull request #4020 from xyflow/fix/intersection-helpers
...
refactor(intersections): use passed node values for calculations
2024-03-14 16:19:05 +01:00
moklick
e0f7f0a01f
chore(changelog): update
2024-03-14 16:18:53 +01:00
moklick
b1c30ee653
refactor(intersections): use passed node values for calculations
2024-03-14 16:14:48 +01:00
moklick
9e30f3b2cd
chore(changelog): update
2024-03-14 15:27:24 +01:00
Moritz Klack and GitHub
a42530cf72
Merge pull request #3998 from xyflow/svelte-selection-drag
...
added nodedrag events to selection box
2024-03-14 15:25:29 +01:00
Moritz Klack and GitHub
092ba3474a
Merge pull request #4018 from xyflow/fix/forward-ref
...
Fix/forward ref
2024-03-14 15:19:40 +01:00
moklick
7f3bb4c230
chore(changelog): update
2024-03-14 15:18:32 +01:00
moklick
2b26ec79b0
chore(rollup): use correct ts version
2024-03-14 15:17:36 +01:00
moklick
54c69c7d8e
fix(react): use fixedForwardRef function
2024-03-14 15:08:39 +01:00
moklick
0d53fe2f48
chore(changelog): update
2024-03-14 14:56:34 +01:00
Moritz Klack and GitHub
efa98c0fac
Merge pull request #4011 from xyflow/export-edge-label
...
Svelte Flow: export EdgeLabel component
2024-03-14 14:55:45 +01:00
Moritz Klack and GitHub
a0f1e10a4d
Merge pull request #4010 from xyflow/fix-cancel-connection
...
Connections can be correctly cancelled
2024-03-14 14:55:28 +01:00
Moritz Klack and GitHub
16be1d0179
Merge pull request #4009 from xyflow/fix-connection-handle
...
Svelte Flow: connectionindicator class applied correctly
2024-03-14 14:49:09 +01:00
moklick
cefdc4eca2
chore(svelte/handle): cleanup
2024-03-14 14:48:53 +01:00
Moritz Klack and GitHub
c17213d5ae
Merge pull request #4015 from xyflow/fix-useNodesData-crash
...
Fix use nodes data crash
2024-03-14 13:03:07 +01:00
moklick
0e086956e2
chore(shallowNodeData): cleanup
2024-03-14 13:02:34 +01:00
moklick
2b28a91014
chore(readme): update package info
2024-03-13 20:31:42 +01:00
787de2fcfa
Merge pull request #3993 from xyflow/next
...
* fix(react): ReactFlow comp ref type
* chore(changelog): update
* Refactor(types): unify node and edge handling (#3978 )
* refactor(types): unify node and edge type behaviour
* chore(changelogs): update
* chore(examples): cleanup
* chore(svelte): update deps
* refactor(useNodesData): improve selector equality function (#3976 )
* improved selector equality function for useNodesData
* fixed selector & useNodesData example
* added shallow-node-data as system function
* fix(safari): prevent selection of viewport (#3973 )
* prevent selection of viewport
* added user-select=none to viewport-portal and moved to be over nodes
* chore(changelogs): update
* fix(react): allow edges to start from 0,0 (#3980 )
* test(playwright): fix edge selection and auto pan tests
* fix(react): select nodes with selection in uncontrolled flows
* text(react): cleanup tests, add onNodesChange tests
* react(pane): position fixed
* chore(test): cleanup
* chore(react): dont use position fixed
---------
Co-authored-by: peterkogo <7165378+peterkogo@users.noreply.github.com >
2024-03-07 13:54:58 +01:00
moklick
09118c1c8e
chore(packages): bump
2024-03-07 13:53:45 +01:00
moklick
fd2e131a9c
chore(react): dont use position fixed
2024-03-07 13:41:46 +01:00
moklick
305be1e26a
chore(test): cleanup
2024-03-07 13:22:07 +01:00
moklick
018c800a06
react(pane): position fixed
2024-03-07 13:21:58 +01:00
moklick
5c50ecfb42
text(react): cleanup tests, add onNodesChange tests
2024-03-06 18:07:06 +01:00
moklick
9565689dfc
fix(react): select nodes with selection in uncontrolled flows
2024-03-06 18:06:34 +01:00
moklick
9ad0aaf277
test(playwright): fix edge selection and auto pan tests
2024-03-06 14:44:58 +01:00
Moritz Klack and GitHub
64e240e7a5
fix(react): allow edges to start from 0,0 ( #3980 )
2024-03-05 16:49:36 +01:00
moklick
513e1fe71d
chore(changelogs): update
2024-03-05 14:48:49 +01:00
moklick
3cd386c62b
chore(svelte): update deps
2024-03-05 13:26:05 +01:00
Moritz Klack and GitHub
4a12a9f781
Refactor(types): unify node and edge handling ( #3978 )
...
* refactor(types): unify node and edge type behaviour
* chore(changelogs): update
* chore(examples): cleanup
2024-03-05 13:15:28 +01:00
Moritz Klack and GitHub
3122a3ac21
Merge pull request #3974 from xyflow/fix/ref
...
fix(react): ReactFlow comp ref type
2024-03-04 12:15:26 +01:00
moklick
d285597f88
chore(changelog): update
2024-03-04 12:15:03 +01:00
moklick
e972656c3d
fix(react): ReactFlow comp ref type
2024-03-04 12:01:26 +01:00
Moritz Klack and GitHub
82f40b4a67
Merge pull request #3966 from xyflow/next
...
React Flow 12.0.0-next.10 & Svelte Flow 0.0.37
2024-02-29 20:03:33 +01:00
moklick
8306964ad1
chore(packages): bump
2024-02-29 20:03:12 +01:00
Moritz Klack and GitHub
86798e76c2
Merge pull request #3964 from xyflow/fix-svelte-reset
...
fixed resetting nodes in svelte
2024-02-29 19:48:25 +01:00
Moritz Klack and GitHub
22b824910f
Merge branch 'next' into fix-svelte-reset
2024-02-29 19:48:19 +01:00
moklick
b2800575f6
chore(changelogs): update
2024-02-29 19:47:15 +01:00
moklick
87d363371b
fix(react): handle drag for nodes that are initially hidden
2024-02-29 19:44:45 +01:00
Moritz Klack and GitHub
f7af76e76e
Merge pull request #3963 from xyflow/node-resizer-origin
...
Fix nodeResizer for orgins other then [0, 0]
2024-02-29 13:22:58 +01:00
moklick
52bdb12cf1
chore(changelogs): update
2024-02-29 13:22:47 +01:00
moklick
77dadd8084
Merge branch 'next' into node-resizer-origin
2024-02-29 13:21:43 +01:00
moklick
0de6d4db33
chore(examples): use width/height for specifying node sizes
2024-02-29 13:21:16 +01:00
Moritz Klack and GitHub
45e83f89f6
Merge pull request #3954 from xyflow/handle-connection-fixes
...
Handle connection fixes
2024-02-29 12:54:35 +01:00
moklick
59e656ea24
chore(changelogs)
2024-02-29 12:54:24 +01:00
moklick
68ce560cf1
chore(handles): cleanup
2024-02-29 12:53:04 +01:00
moklick
966531ec39
Merge branch 'next' of github.com:xyflow/xyflow into next
2024-02-28 10:25:27 +01:00
moklick
aead13f485
chore(react): add addNodeOnEdgeDrop example
2024-02-28 10:25:20 +01:00
Moritz Klack and GitHub
8caabccc60
Merge pull request #3956 from xyflow/fix-smoothstep-edge
...
fixed smoothstep edge if center = 0
2024-02-28 10:24:12 +01:00
Moritz Klack and GitHub
e5c667d068
Feat(nodes): add initialWidth and initialHeight ( #3953 )
...
* feat(react/svelte): add initialWidth/initialHeight closes #3793
* chore(packages): update changelogs
2024-02-27 15:21:35 +01:00
moklick
14516ab061
fix(react): drag nodes after toggle hidden closes #3931
2024-02-26 15:01:17 +01:00
moklick
d88f72a6cc
chore(packages): update changelogs
2024-02-26 14:35:43 +01:00
Moritz Klack and GitHub
8a6e214e6c
Merge pull request #3934 from xyflow/escape-fix
...
disableKeyboardA11y now correctly prevents escape key presses
2024-02-26 14:22:44 +01:00
moklick
0ad5f2d16a
chore(react): cleanup node wrapper
2024-02-26 14:22:22 +01:00
Moritz Klack and GitHub
be08c24cc3
Merge pull request #3933 from xyflow/draggable-cursor-fix
...
Draggable cursor fix
2024-02-26 14:18:12 +01:00
Moritz Klack and GitHub
1c9a5f3b30
Merge pull request #3929 from xyflow/extend-use-nodes-data
...
Extend useNodesData by {id, type, data}
2024-02-26 14:13:39 +01:00
moklick
3fc3b7e603
chore(useNodesData): cleanup return type
2024-02-26 14:13:12 +01:00
moklick
c1beb6b58a
chore(react): use useIsomorphicLayoutEffect hook to prevent SSR warning
2024-02-20 16:14:39 +01:00
Moritz Klack and GitHub
c904f5c485
Merge pull request #3928 from xyflow/fix-node-drag
...
Fire node drag events also when dragging selection
2024-02-20 15:02:08 +01:00
moklick
d19d5fc1d3
chore(xydrag): cleanup
2024-02-20 14:57:06 +01:00
Moritz Klack and GitHub
20e2d3d2ce
Merge pull request #3834 from xyflow/refactor/infer-node-types
...
React Flow: TS node types
2024-02-20 10:30:10 +01:00
moklick
67fe7952f8
chore(custom-nodes): use custom edge type
2024-02-20 00:04:20 +01:00
moklick
ea0e72aa09
chore(svelte): export BuiltInNode type
2024-02-19 12:02:58 +01:00
moklick
07ddd97650
refactor(react): add generics to useStoreApi
2024-02-19 10:45:48 +01:00
moklick
7bc9558631
Merge branch 'next' into refactor/infer-node-types
2024-02-19 10:39:56 +01:00
moklick
5e56dd58c0
chore(types): cleanup
2024-02-18 19:54:55 +01:00
moklick
a16c5c9bd5
chore(types): cleanup
2024-02-17 16:32:59 +01:00
moklick
ad7403cc75
refactor(types): use same structure for nodes and edges
2024-02-17 15:45:10 +01:00
moklick
776f6ce0b7
chore(useStore): add tsdoc example
2024-02-17 14:35:20 +01:00
moklick
f14480dc89
chore(useStore): cleanup
2024-02-17 12:24:38 +01:00
Moritz Klack and GitHub
13897512d3
Merge pull request #3906 from xyflow/next
...
React Flow 12.0.0-next.9 & Svelte Flow 0.0.36
2024-02-15 18:14:39 +01:00
moklick
6eea7eb2ab
chore(packages): bump
2024-02-15 18:13:46 +01:00
Moritz Klack and GitHub
af6b0c18b1
Merge pull request #3914 from xyflow/handle-connections-svelte
...
aligned useHandleConnections in svelte with react version
2024-02-15 18:05:40 +01:00
Moritz Klack and GitHub
12651653f0
Merge pull request #3913 from xyflow/fix-node-drag-start-stop
...
fix node drag start & stop being fired when draggable=false
2024-02-15 18:04:43 +01:00
Moritz Klack and GitHub
6d583a2f45
Merge pull request #3919 from xyflow/fix/remeasure-nodes
...
Fix/remeasure nodes
2024-02-15 18:00:56 +01:00
moklick
edba3963d8
fix(react): re-measure nodes correctly
2024-02-15 17:59:54 +01:00
moklick
04ba6e0e4e
fix(nodes): re-measure nodes when dimensions are missing
2024-02-13 17:19:32 +01:00
Moritz Klack and GitHub
4237775b6e
Merge pull request #3907 from xyflow/refactor/set-nodes
...
Refactor(setNodes): improve current batching solution
2024-02-13 16:20:39 +01:00
moklick
2860feec11
fix(react): uncontrolled flows with Provider
2024-02-13 16:12:31 +01:00
Moritz Klack and GitHub
c1ccf119d6
Merge pull request #3905 from xyflow/fix/deletion-focused-input
...
Fix/deletion focused input
2024-02-13 15:48:51 +01:00
moklick
0d80b45d05
chore(changelog): update
2024-02-13 10:52:11 +01:00
moklick
b77fe9da1f
fix(deletion): do not delete node when user is inside input closes #3895
2024-02-13 10:50:57 +01:00
Moritz Klack and GitHub
3481f67ff5
Merge pull request #3887 from xyflow/refactor/use-handle-connections
...
refactor(useHandleConnections): also return edge id
2024-02-12 12:48:46 +01:00
moklick
c3d5c8cdfa
refactor(useHandleConnections): also return edge id
2024-02-08 13:32:37 +01:00
moklick
57270f3eb4
chore(ts-docs): use correct values for min/max zoom closes #3881
2024-02-07 17:27:23 +01:00
Moritz Klack and GitHub
f9a9a03a2b
Merge pull request #3842 from li-jia-nan/main
...
type: remove repeated type
2024-02-07 17:20:44 +01:00
moklick
f507fbcb4b
chore(react): createSelectionChange types
2024-02-07 17:16:24 +01:00
Moritz Klack and GitHub
6b18c9daeb
refactor defaultNodes/defaultEdges handling ( #3882 )
...
* refactor(react): cleanup defaultnodes/defaultedges handling
* chore(examples): cleanup
* chore(examples): cleanup
* fix(react): selection for uncontrolled flows
2024-02-07 17:09:39 +01:00
Moritz Klack and GitHub
76606c67da
Merge pull request #3874 from xyflow/minimap-style-fix
...
fixed minimap styling by props & mask-stroke-width
2024-02-07 17:09:23 +01:00
moklick
1aaed8458f
chore(svelte): add role to EdgeLabel to prevent a11y warnings closes #3841
2024-02-05 17:23:36 +01:00
Moritz Klack and GitHub
c797197e41
Merge pull request #3866 from xyflow/panecontextmenu-fix
...
Panecontextmenu fix
2024-02-05 17:13:00 +01:00
moklick
6631046923
chore(svelte): update changelog
2024-02-05 17:12:07 +01:00
moklick
ef54c11f5f
Merge branch 'next' into panecontextmenu-fix
2024-02-05 17:11:29 +01:00
Moritz Klack and GitHub
1a9f56ca32
Merge pull request #3824 from xyflow/node-resizer-children
...
Node resizer and parentExtent, parentExpand behaviour improvements
2024-02-05 17:01:43 +01:00
moklick
2581832f27
chore(libs): update changelog
2024-02-05 17:01:18 +01:00
moklick
7830b3573f
chore(resizer): cleanup
2024-02-05 16:58:19 +01:00
moklick
cccfc21114
refactor(react): minimap generic node type
2024-01-26 09:57:19 +01:00
moklick
112a552deb
Merge branch 'next' into refactor/infer-node-types
2024-01-26 09:35:59 +01:00