peterkogo
3a4ddc2aee
chore(svelte): formatted and lint errors fixed
2024-04-03 10:51:22 +02:00
peterkogo
1d2befe121
changed node drag arguments, targetNode is null when dragging selectionbox
2024-03-14 14:59:32 +01:00
peterkogo
b761859aa0
added nodedrag events to selection box
2024-03-11 10:59:53 +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
22b824910f
Merge branch 'next' into fix-svelte-reset
2024-02-29 19:48:19 +01:00
peterkogo
382cab728b
fixed resetting nodes in svelte
2024-02-28 17:42:33 +01:00
peterkogo
84611e2f72
fixed node resizer & inlineWidth and inlineHeight
2024-02-28 16:50:30 +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
71f038a319
refactor(node-renderer): simplify selectors, remove reselect, cleanup
2023-12-14 12:32:41 +01:00
moklick
b332b86090
refactor(svelte): replace on:connect with onconnect
2023-12-13 11:33:49 +01:00
moklick
1dfff1bf5b
refactor(libs) add width, height and positionAbsolute props to NodeProps
2023-11-23 13:50:28 +01:00
moklick
a166129547
fix(svelte): use node.style.width and node.style
2023-11-21 16:03:07 +01:00
moklick
24c999a335
chore(astro): use width/height attrs
2023-11-21 15:18:35 +01:00
moklick
d812dbbe53
refactor(nodes): add computed attr for width/height and absolute position
2023-11-21 15:06:42 +01:00
moklick
8a5dd652b3
refactor(svelte): node wrapper position types
2023-11-21 12:59:12 +01:00
moklick
c888126438
fix(svelte): use map for dimension updates
2023-11-16 11:56:17 +01:00
Peter
2ebdca0525
fix(svelte) hiding elements considers missing html elements
2023-11-08 13:12:34 +01:00
moklick
2a38a010f6
fix(svelte): subflows
2023-11-01 15:21:53 +01:00
moklick
d2b140ce5e
fix(svelte): repair selection, add multi selection closes #3557
2023-10-31 18:31:24 +01:00
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
e5f877a9bd
refactor(svelte): update node automatically when source-/ targetPos change
2023-10-19 15:47:09 +02:00
moklick
c7a533bffe
chore(svelte): fix types for event handlers
2023-10-16 15:53:36 +02:00
moklick
afa6365e12
chore(react/svelte): rename node.dimensions to node.size
2023-10-09 17:04:11 +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
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
c848e32f1d
fix(node-wrapper): use noDragClass
2023-09-19 14:27:38 +02:00
moklick
087ef82618
fix(svelte): pass dragHandle #3398
2023-09-18 14:19:16 +02:00
moklick
89610ccd29
fix(nodes/edges): handle hidden attribute closes #3387
2023-09-14 18:24:15 +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
c0f04b2c71
refactor(svelte): elevate nodes by default
2023-08-17 11:04:58 +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
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
8354759f57
refactor(packages): change package structure
2023-06-05 15:40:18 +02:00
Moritz Klack and GitHub
1dab08f36e
feat(utils): add vanilla drag and panzoom ( #3108 )
...
* refactor(panzoom): create vanilla helper
* feat(svelte): add interaction example
* refactor(panzoom): cleanup
* Update function-runner.ts
* refactor(panzoom): cleanup
* refactor(panzoom): rename functions
* feat(utils): add vanilla drag helper (#3107 )
* feat(utils): add vanilla drag helper
* refactor(drag): cleanup
* refactor(drag): cleanup
* chore(packages): cleanup
* refactor(panzoom): cleanup and simplify
2023-05-31 15:55:36 +02:00
moklick
dd8292ce57
feat(svelte): make edges selectable
2023-05-17 13:04:28 +02:00
moklick
77d14f9ad0
feat(svelte): add subflows
2023-03-15 18:34:07 +01:00