peterkogo
9645d885c5
merge useNodeConnections
2025-01-08 12:59:17 +01:00
peterkogo
b2d1844c0f
remove redundant connectionLookup entries
2025-01-07 14:18:05 +01:00
peterkogo
6349290722
optimized selection via selectionbox, implemented proper defaultEdge/-NodeOptions
2024-12-19 17:33:16 +01:00
peterkogo
d0fce3984d
first working version with using $state for nodes & edges
2024-12-09 12:07:10 +01:00
peterkogo
4fcde6f6bf
refector viewport to use signals
2024-12-06 15:35:43 +01:00
peterkogo
f29898f0bd
WIP: migrated store and useSvelteFlow hook to signals & solved state propagation for provider
2024-12-06 13:53:48 +01:00
peterkogo
ed1ead7b5a
fix linting, formatting
2024-11-13 18:17:42 +01:00
peterkogo
2c2b456036
migrate all components
2024-11-13 15:21:22 +01:00
peterkogo
28e4fad342
migrate some components
2024-11-13 13:33:49 +01:00
moklick
aae62e9ec6
feat(onConnectEnd): pass connectionState
2024-08-14 11:17:34 +02:00
braks
3c3e9504b8
fix(svelte): rename isConnectable prop to avoid naming collision
2024-08-05 11:42:16 +02:00
peterkogo
5493f045ff
streamlined connections
2024-06-26 15:03:12 +02:00
peterkogo
44254648c8
changed naming and streamlined connections
2024-06-24 16:37:11 +02:00
moklick
2b0d75ddaa
refactor(types): only export HandleProps but not HandleComponentProps
2024-05-07 16:22:26 +02:00
Moritz Klack and GitHub
bd95cc1b59
Merge pull request #4144 from xyflow/svelte-handle-valid-connection
...
Svelte: isValidConnection on <Handle />
2024-05-02 11:26:38 +02:00
Daniel Darabos and GitHub
eb229d820b
Make handleId and isTarget reactive.
2024-04-29 19:43:35 +02:00
peterkogo
e25c3304d0
removed console.log
2024-04-11 13:05:36 +02:00
peterkogo
7d24127e3f
added isValidConnection on Handle component
2024-04-11 13:03:12 +02:00
peterkogo
2d1d4717d9
fixed errors but still WIP
2024-04-10 09:30:00 +02: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
moklick
cefdc4eca2
chore(svelte/handle): cleanup
2024-03-14 14:48:53 +01:00
peterkogo
e489df9808
added check to xyhandle pointermove if connection is cancelled
2024-03-13 14:26:27 +01:00
peterkogo
a224b88c65
connectionindicator class is now added if handle can be connected to based on handle types
2024-03-13 13:56:18 +01:00
moklick
68ce560cf1
chore(handles): cleanup
2024-02-29 12:53:04 +01:00
moklick
c3d5c8cdfa
refactor(useHandleConnections): also return edge id
2024-02-08 13:32:37 +01:00
moklick
b8fc637091
refactor(svelte): use correct id for handle data-id attr
2024-01-25 11:42:03 +01:00
moklick
07ee0c5bba
chore(types): handle ReactFlow type annotations
2024-01-18 14:10:04 +01:00
moklick
bc69a6adb4
refactor(handles): prefix with flow id for handling nested flows #3196
2024-01-16 16:57:50 +01:00
moklick
b332b86090
refactor(svelte): replace on:connect with onconnect
2023-12-13 11:33:49 +01:00
moklick
d4d773d9c6
feat(svelte): add useHandleConnections, useNodesData and useUpdateNodeData
2023-12-11 18:31:37 +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
Peter
3f94dfa84c
feat(svelte) added onedgecreate function
2023-11-28 15:48:19 +01:00
moklick
c7a533bffe
chore(svelte): fix types for event handlers
2023-10-16 15:53:36 +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
Peter
6b7e72b06c
feat(svelte) add autoPanOnConnect autoPanOnNodeDrag props
2023-09-21 12:59:56 +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
Peter
edbc67e8c4
feat(svelte) fixed on:connectstart and on:connectend
2023-09-19 14:36:04 +02:00
moklick
30f0776203
fix(svelte): add nodesDraggable
2023-08-31 16:59:34 +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
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
ddaa719c30
fix(svelte): connection radius
2023-06-07 15:28:25 +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
1b4f4a034e
chore(svelte): cleanup
2023-06-05 16:10:48 +02:00
moklick
8354759f57
refactor(packages): change package structure
2023-06-05 15:40:18 +02:00
moklick
b2e296901e
chore(svelte): use xyhandle
2023-06-05 11:28:19 +02:00
moklick
45f51e96b1
refactor(store): connection data
2023-06-05 00:02:07 +02:00