Commit Graph
87 Commits
Author SHA1 Message Date
moklick 39b0deb9a4 fix(react): node resizer use new width/height attr 2023-11-21 16:08:13 +01:00
moklick d812dbbe53 refactor(nodes): add computed attr for width/height and absolute position 2023-11-21 15:06:42 +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 4849c90cbd refactor(system): getElementsToRemove returns unique edge items 2023-11-16 13:23:55 +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 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
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
braks 7c60f2234a refactor(system,styles): use translate to align handles to center of their side 2023-11-10 09:35:37 +01:00
moklick 00dc0c7347 chore(packages): bump 2023-10-31 18:44:20 +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 e5acbbcf9d chore(types): cleanup 2023-10-23 17:47:50 +02:00
moklick 6de9bbc916 refactor(react/svelte): simplify ssr usage 2023-10-23 16:37:28 +02:00
moklick d1589bac17 Merge branch 'xyflow' into feat/ssr 2023-10-23 12:15:21 +02:00
moklick afa6365e12 chore(react/svelte): rename node.dimensions to node.size 2023-10-09 17:04:11 +02:00
moklick a46104cf40 refactor(svelte): cleanup nodes selection 2023-10-09 15:51:53 +02:00
moklick d78b2aad6f Merge branch 'xyflow' into feat/ssr 2023-10-05 20:31:55 +02:00
moklick 1c791811a9 feat(system): add handles and dimensions for ssr 2023-10-05 17:26:59 +02:00
Peter 6fd9d19797 feat(react, svelte) added getIncomers & getOutgoers to use...Flow() 2023-10-05 13:28:04 +02:00
Peter 1b0790e79f refactor(xyflow) improved performance of getOutgoersBase & getIncomersBase 2023-10-05 13:00:20 +02:00
Peter 18a22e6f4c refactor(xyflow) improved performance of getConnectedEdgesBase 2023-10-05 12:10:35 +02:00
Moritz KlackandGitHub 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
moklick 2215b68438 fix(svelte): background lines 2023-09-27 17:26:51 +02:00
moklick 4e64b57d6d Merge branch 'xyflow' of github.com:wbkd/react-flow into xyflow 2023-09-27 16:11:03 +02:00
Peter 2e6c5d9191 Merge branch xyflow into svelte-flow-connection-line 2023-09-27 13:48:29 +02:00
Peter 66caa4c8ca chore(svelte) refactored connectionPath & connection 2023-09-27 13:40:03 +02:00
moklick 88104fc15f refactor(node): make expandParent compatible with extent parent 2023-09-26 15:55:21 +02:00
moklick 348f311fc7 feat(react,svelte): add nodeDragThreshold 2023-09-26 13:08:27 +02:00
Peter 439916e619 fix(react) fitViewOptions.nodes are now working as intended 2023-09-25 13:46:22 +02:00
Peter ada5b94673 feat(svelte) add fitViewOptions, closes #3440 2023-09-25 12:58:04 +02:00
moklick 8846deb8e8 fix(system): nopan doesn't work when used with panOnScroll 2023-09-20 16:24:40 +02:00
moklick bc0620d1e6 chore(packages): bump 2023-09-19 15:55:04 +02:00
moklick 581778c76f fix(node-selection): cleanup selection when node is not selectable 2023-09-19 13:32:32 +02:00
moklick 1695b2828f chore(system): defaults for controls base styles 2023-09-18 16:10:51 +02:00
moklick 961d1295b4 chore(packages): bump 2023-08-31 17:01:06 +02:00
moklick 3da34c739e style(minimap): add default bg 2023-08-30 16:38:18 +02:00
moklick c12bcc1332 fix(connectionline): set overflow visible 2023-08-28 13:09:15 +02:00
moklick 34abe4781f chore(svelte): cleanup examples 2023-08-24 15:01:47 +02:00
Moritz KlackandGitHub 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 77b4d57ebb chore(packages): bump 2023-08-21 18:18:17 +02:00
moklick 208ee5b944 fix(step-edge): handle routes for same positions 2023-08-21 18:01:11 +02:00
moklick a096efbcfe feat(svelte): add panActivationKey 2023-08-16 13:56:52 +02:00
moklick 258244f368 fix(move-events): fire for panOnScroll 2023-08-16 10:51:55 +02:00
moklick aa43a6de02 chore(pkg): add exports 2023-08-14 16:37:44 +02:00
moklick 182c53113c fix(node-click): handle deleted node 2023-08-14 16:19:43 +02:00
moklick 9654eee4fb fix(scroll): fast zoom issue on windows with ctrl 2023-08-14 16:13:12 +02:00
moklick e1b8dce981 fix(onMoveEnd): falsely triggered on right click 2023-08-14 15:59:19 +02:00