Commit Graph

357 Commits

Author SHA1 Message Date
moklick
3b69a11aac chore(examples): cleanup 2023-12-16 11:19:39 +01:00
moklick
9b128bf184 chore(examples): cleanup 2023-12-15 12:31:05 +01:00
moklick
8c705fbdbf fix(examples): use computed attribute 2023-12-15 12:25:50 +01:00
moklick
c42b82159c chore(svelte): use new node props 2023-12-15 12:04:02 +01:00
moklick
71f038a319 refactor(node-renderer): simplify selectors, remove reselect, cleanup 2023-12-14 12:32:41 +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 Klack
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
124df00f60 feat(react): connection lookup draft 2023-12-01 12:10:01 +01:00
Moritz Klack
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
Moritz Klack
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
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
0393409e89 fix(system) exportet Optional type, fix(svelte) adjusted exported edge types 2023-11-28 13:03:50 +01:00
moklick
7193b55ff2 chore(examples): cleanup 2023-11-27 11:29:43 +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 Klack
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
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
peterkogo
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
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
c4cca8b30d Merge branch 'next' of github.com:xyflow/xyflow into next 2023-11-16 11:56:57 +01:00
moklick
b56f5ad9e1 chore(examples): cleanup 2023-11-16 11:55:59 +01:00
Peter
99c24f86c6 fix(tests) adjusted FlowConfig type 2023-11-16 11:18:11 +01:00
Moritz Klack
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
moklick
e798e94275 refactor(react/svelte): use nodeLookup 2023-11-14 15:52:48 +01:00
Peter
3dad5fe9fa chore(documentation) small improvements 2023-11-14 11:07:34 +01:00
Peter
0d9ac928ff chore(documentation) Added additional READMEs for examples 2023-11-14 11:03:46 +01:00
moklick
a147a20f6e refactor(react/svelte): use node lookup for perf improvement 2023-11-13 16:43:57 +01:00
moklick
6e1e702cf3 Merge branch 'next' of github.com:xyflow/xyflow into next 2023-11-13 11:47:13 +01:00
moklick
dee36d5b90 feat(svelte): add selectionOnDrag 2023-11-13 11:45:53 +01:00
Peter
6db6d957d3 chore(tests) added README and added plugins to generic tests 2023-11-13 11:36:59 +01:00
moklick
90912a6c1a reafactor(react/svelte): rename some util functions #3528 2023-11-13 10:45:06 +01:00
moklick
3484d57990 Merge branch 'next' into feat/multiple-on-selection-change 2023-11-09 16:36:57 +01:00
moklick
bcbb0693c2 Merge branch 'xyflow' into svelte-flow-fix-hidden 2023-11-08 18:19:13 +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