Commit Graph
100 Commits
Author SHA1 Message Date
Moritz KlackandGitHub 58ad111ec3 Merge pull request #3716 from xyflow/next
Svelte Flow 0.0.29
2023-12-13 12:47:18 +01:00
Moritz KlackandGitHub 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 KlackandGitHub 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 KlackandGitHub 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 KlackandGitHub 0e196713c8 Merge pull request #3686 from xyflow/fix/edge-props
Fix/edge props
2023-11-30 14:04:48 +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
moklick 8f43160236 refactor(react/edges): simplify edge creation 2023-11-29 18:01:11 +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
Moritz KlackandGitHub 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
moklick e9eb0ed516 Merge branch 'next' of github.com:xyflow/xyflow into next 2023-11-28 15:46:52 +01:00
moklick 7193b55ff2 chore(examples): cleanup 2023-11-27 11:29:43 +01:00
Moritz KlackandGitHub 05bd2e8666 chore(svelte): changelog 2023-11-23 13:58:34 +01:00
Moritz KlackandGitHub c8b18a0d43 Merge pull request #3659 from xyflow/next
Svelte Flow: release 0.0.28
2023-11-23 13:53:06 +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
Moritz KlackandGitHub 74c82272aa Merge pull request #3648 from xyflow/refactor/computed-attributes
Nodes: add computed attr for width/height and absolute position
2023-11-21 17:49:04 +01:00
moklick 51e98ea44d fix(svelte): node toolbar use new width/height attrs 2023-11-21 16:37:38 +01:00
moklick 39b0deb9a4 fix(react): node resizer use new width/height attr 2023-11-21 16:08:13 +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
Moritz KlackandGitHub a27e813cf7 Merge pull request #3647 from xyflow/svelte/refactor-position
refactor(svelte): node wrapper position types
2023-11-21 13:00:00 +01:00
moklick 8a5dd652b3 refactor(svelte): node wrapper position types 2023-11-21 12:59:12 +01:00
moklick b659443507 feat(react): add onDelete handler 2023-11-16 13:32:22 +01:00
moklick 05968c82a2 feat(svelte): add ondelete handler #3618 2023-11-16 13:24:41 +01:00
moklick 4849c90cbd refactor(system): getElementsToRemove returns unique edge items 2023-11-16 13:23:55 +01:00
moklick c4cca8b30d Merge branch 'next' of github.com:xyflow/xyflow into next 2023-11-16 11:56:57 +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
moklick b56f5ad9e1 chore(examples): cleanup 2023-11-16 11:55:59 +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
Moritz KlackandGitHub aeb1c4132f Merge pull request #3620 from xyflow/docs-enhance
READMEs for examples enhanced for better navigation of the monorepo
2023-11-14 16:08:28 +01:00
Moritz KlackandGitHub 8ddf28f95a Merge pull request #3621 from xyflow/refactor/perf
Refactor: use nodeLookup internally
2023-11-14 16:07:08 +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
Moritz KlackandGitHub cc1d8ccadd Merge pull request #3613 from xyflow/next
Svelte Flow Release 0.0.27 and e2e tests
2023-11-13 11:53:55 +01:00
moklick 6e1e702cf3 Merge branch 'next' of github.com:xyflow/xyflow into next 2023-11-13 11:47:13 +01:00
Moritz KlackandGitHub 420f0123cc Merge pull request #3609 from xyflow/e2e-test-enhancements
chore(tests) added README and added plugins to generic tests
2023-11-13 11:47:00 +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 b65ba07a7f Merge branch 'next' of github.com:xyflow/xyflow into next 2023-11-13 11:19:17 +01:00
Moritz KlackandGitHub 7ecda0828d Merge pull request #3601 from bcakmakoglu/refactor/handle-styles
refactor(system,styles)!: use translate to align handles to center of its side
2023-11-13 11:18:53 +01:00
moklick e167df9601 refactor(system): respect zoomActivationKeyPressed when hovering a node 2023-11-13 11:17:37 +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 61648488aa chore(changeset): remove 2023-11-09 17:18:47 +01:00
Moritz KlackandGitHub 89c016f42d Merge pull request #3592 from xyflow/feat/multiple-on-selection-change
Feat/multiple on selection change
2023-11-09 16:38:35 +01:00
moklick 3484d57990 Merge branch 'next' into feat/multiple-on-selection-change 2023-11-09 16:36:57 +01:00
Moritz KlackandGitHub f7911fd81d Merge pull request #3581 from xyflow/svelte-flow-fix-hidden
fix(svelte) hiding elements considers missing html elements
2023-11-08 18:21:25 +01:00
moklick bcbb0693c2 Merge branch 'xyflow' into svelte-flow-fix-hidden 2023-11-08 18:19:13 +01:00
Moritz KlackandGitHub 0b8b5470e5 Merge pull request #3544 from xyflow/refactor-testing
Refactor testing
2023-11-08 18:14:39 +01:00
moklick 434590543d chore(tests): cleanup playwright configs 2023-11-08 18:13:57 +01:00
moklick d82a54fa5b chore(examples): cleanup 2023-11-08 17:44:51 +01:00
Moritz KlackandGitHub 428fced240 chore(funding): update org 2023-11-01 19:34:09 +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
Moritz KlackandGitHub e8d55f255b chore(react): update readme 2023-11-01 14:50:15 +01:00
Moritz KlackandGitHub 9c6a4c4977 chore(readme): update 2023-11-01 11:16:57 +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 ce1680ba71 fix(svelte): connectionline zIndex closes #3560 2023-10-31 15:36:46 +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 978aa8eaca Merge pull request #3482 from wbkd/feat/ssr
feat(react/svelte): add ssr support
2023-10-31 14:15:14 +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
Moritz KlackandGitHub 948c5d9e3b Update README.md 2023-10-31 12:41:16 +01:00
Moritz KlackandGitHub 6be631610a Update reactflow readme 2023-10-31 12:38:11 +01:00
Moritz KlackandGitHub ea1162a1db Merge pull request #3564 from wbkd/chore/readme-updates
Chore/readme updates
2023-10-31 12:35:10 +01:00
moklick c480de4adb chore(readme): update 2023-10-31 12:30:11 +01:00
moklick 2eccdc125d chore(readmes): update 2023-10-31 12:29:10 +01:00
moklick 310c2ebf5d chore(readmes): update 2023-10-30 14:07:36 +01:00
Moritz KlackandGitHub 403a8b65e2 Merge pull request #3537 from wbkd/use-svelte-flow-to-object
feat(svelte) added toObject() on useSvelteFlow
2023-10-30 11:53:19 +01:00