Commit Graph
273 Commits
Author SHA1 Message Date
moklick b2a1ab0610 refactor(svelte): do not update nodes on pane click #3638 2023-11-30 14:46:07 +01:00
Moritz KlackandGitHub 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
Moritz KlackandGitHub 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
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
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 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 8fe8f73ed3 chore(svelte/system): bump 2023-11-23 13:51:49 +01:00
moklick 1dfff1bf5b refactor(libs) add width, height and positionAbsolute props to NodeProps 2023-11-23 13:50:28 +01:00
moklick 38b5051179 feat(svelte): add on:selectionclick and on:selectioncontextmenu closes #3646 2023-11-23 12:49:06 +01:00
Moritz KlackandGitHub ab5eef220f Feat: dark mode (#3652)
* feat(react/svelte): add dark mode defaults

* refactor(darkmode): minimap, edges, edge labels

* chore(style): edge label color

* feat(colorMode): add colorMode prop light/dark/system

* chore(examples): cleanup

* test(colorMode): add tests

* chore(base.css): add dark base

* chore(examples): cleanup
2023-11-23 12:15:36 +01:00
moklick 51e98ea44d fix(svelte): node toolbar use new width/height attrs 2023-11-21 16:37:38 +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
b8affc1c82 Svelte NodeToolbar with E2E (#3643)
* Added NodeToolbar

* Added comments & fixed default behaviour in svelte

* Added e2e-tests for NodeToolbar component & added data-id to react NodeToolbar

* refactor(svelte/NodeToolbar): cleanup

* refactor(node-toolbar): add system utils

---------

Co-authored-by: moklick <info@moritzklack.com>
2023-11-20 18:40:43 +01:00
moklick 05968c82a2 feat(svelte): add ondelete handler #3618 2023-11-16 13:24:41 +01:00
moklick aee289d285 fix(svelte): use correct nodes for node store sync 2023-11-16 11:56:48 +01:00
moklick c888126438 fix(svelte): use map for dimension updates 2023-11-16 11:56:17 +01:00
Moritz KlackandGitHub 14caf422c3 refactor(svelte): add zoomActivationKey and allow null for keys #3618 (#3627)
* refactor(keys): add zoomActivationKey and allow null #3618
2023-11-15 19:06:49 +01:00
moklick e798e94275 refactor(react/svelte): use nodeLookup 2023-11-14 15:52:48 +01:00
moklick a147a20f6e refactor(react/svelte): use node lookup for perf improvement 2023-11-13 16:43:57 +01:00
moklick dee36d5b90 feat(svelte): add selectionOnDrag 2023-11-13 11:45:53 +01:00
moklick d4df8be6f2 chore(svelte): bump 2023-11-13 11:33:05 +01:00
moklick 90912a6c1a reafactor(react/svelte): rename some util functions #3528 2023-11-13 10:45:06 +01:00
Moritz KlackandGitHub b368b14b22 Merge pull request #3594 from xyflow/fix/pan-activation-key
Fix/pan activation key
2023-11-09 17:19:27 +01:00
moklick bcbb0693c2 Merge branch 'xyflow' into svelte-flow-fix-hidden 2023-11-08 18:19:13 +01:00
braks bb6021e6f8 fix(react,svelte): allow panning by scroll when pan activation key is pressed 2023-11-08 18:07:28 +01:00
Peter 2ebdca0525 fix(svelte) hiding elements considers missing html elements 2023-11-08 13:12:34 +01:00
Peter 118152bd2e fix(svelte) id should not get applied to edge path 2023-11-08 10:39:33 +01:00
moklick 351ba3c863 chore(svelte): bump 2023-11-01 15:31:37 +01:00
moklick 2a38a010f6 fix(svelte): subflows 2023-11-01 15:21:53 +01:00
Moritz KlackandGitHub 5d464036d1 chore(svelte): update readme 2023-11-01 14:51:29 +01:00
moklick 00dc0c7347 chore(packages): bump 2023-10-31 18:44:20 +01:00
moklick 39f7829726 chore(svelte): update attribution 2023-10-31 18:37:13 +01:00
moklick d2b140ce5e fix(svelte): repair selection, add multi selection closes #3557 2023-10-31 18:31:24 +01:00
moklick 22cb43543d fix(svelte): handle interactionWidth closes #3558 2023-10-31 15:31:19 +01:00
d2ff09b744 Update README.md (#3566)
* add team members to readme
* add xyflow team members to readme
* remove irrelevant copy
* add emphasis to alpha-warning

---------

Co-authored-by: John Robb <johnhrobb@gmail.com>
2023-10-31 14:24:50 +01:00
Moritz KlackandGitHub 3b781a299b Merge branch 'xyflow' into feat/ssr 2023-10-31 14:12:52 +01:00
Moritz KlackandGitHub 358423ebec Merge pull request #3561 from wbkd/svelte-undefined-edge-styles
fix(svelte) undefined edge classes do not append "undefined" as class
2023-10-31 14:10:19 +01:00
Moritz KlackandGitHub cddafb924f Fix/readme headers (#3565)
* Update README.md
2023-10-31 13:40:22 +01:00
moklick c480de4adb chore(readme): update 2023-10-31 12:30:11 +01:00