Commit Graph

3864 Commits

Author SHA1 Message Date
moklick
f37a2d9a19 feat(svelte): ssr 2023-10-05 17:27:53 +02:00
moklick
1c791811a9 feat(system): add handles and dimensions for ssr 2023-10-05 17:26:59 +02:00
Peter
10a14a2af4 fix(svelte) edge labels default font-size is 10px 2023-10-05 14:44:56 +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
d4179ac592 feat(svelte) added getConnectedEdges to useSvelteFlow 2023-10-05 12:28:06 +02:00
Peter
8e7ee88ca3 feat(react) added getConnectedEdges to useReactFlow 2023-10-05 12:24:35 +02:00
Peter
18a22e6f4c refactor(xyflow) improved performance of getConnectedEdgesBase 2023-10-05 12:10:35 +02:00
Peter
b6ea01f51b chore(react) deleteElements now returns deletedEdges & deletedNodes 2023-10-05 10:39:52 +02:00
Peter
2d2f642c82 feat(react) added screenToFlowCoordinate & flowToScreenCoordinate 2023-10-05 10:34:58 +02:00
moklick
86c041c2a0 feat(react): add basic ssr support 2023-10-04 16:03:23 +02:00
Peter
08dcae0c2b feat(svelte) added useNodes and useEdges hooks 2023-10-04 12:03:24 +02:00
Peter
e46c3cddaa fix(svelte) prevent unecessary rerenders & execution of reactive statements, closes #3336 2023-10-04 11:32:32 +02:00
Peter
969fa8280a fix(svelte-flow) style is now applied properly to the connectionLine 2023-10-04 10:37:39 +02:00
moklick
53c04e2546 chore(react): cleanup viewport component 2023-10-02 16:16:17 +02:00
Peter
cb72b6a358 fix(svelte) improved type 2023-10-02 12:51:32 +02:00
Peter
3091262065 feat(svelte) added isNodeIntersecting and getIntersectingNodes to svelte-flow 2023-10-02 12:49:38 +02:00
Moritz Klack
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
335e116d44 chore(svelte): cleanup 2023-09-27 16:15:43 +02:00
moklick
4e64b57d6d Merge branch 'xyflow' of github.com:wbkd/react-flow into xyflow 2023-09-27 16:11:03 +02:00
Moritz Klack
43914e5162 Merge pull request #3456 from wbkd/svelte-flow-connection-line
feat(svelte) added connectionLineComponent
2023-09-27 16:10:48 +02:00
moklick
8a1a26385a feat(hooks): add useConnection 2023-09-27 16:10:16 +02:00
Peter
79ab4cb3e0 fix(svelte) corrected <g> positioning 2023-09-27 16:02:46 +02:00
Peter
1d8fc1bfaf fix(svelte) backup connection line now renders correctly 2023-09-27 15:53:17 +02:00
Peter
e83ba5dfa8 fix(svelte) fitView props mismatched 2023-09-27 15:10:55 +02:00
Peter
2e6c5d9191 Merge branch xyflow into svelte-flow-connection-line 2023-09-27 13:48:29 +02:00
moklick
2112398caa fix(svelte): fitView 2023-09-27 13:44:47 +02:00
Peter
66caa4c8ca chore(svelte) refactored connectionPath & connection 2023-09-27 13:40:03 +02:00
moklick
05a33e6b6d chore(svelte): bump 2023-09-26 16:01:05 +02:00
Peter
854a9d3606 feat(svelte) added connectionLineContainerStyle and connectionLineStyle props 2023-09-26 16:01:00 +02:00
moklick
84fbb25f69 chore(store): use correct type for fitView action 2023-09-26 16:00:07 +02:00
moklick
88104fc15f refactor(node): make expandParent compatible with extent parent 2023-09-26 15:55:21 +02:00
Peter
beecd9623b refined example 2023-09-26 15:49:09 +02:00
moklick
9865b9c2bf refactor(nodes): don't delete nodes when user focuses input and presses modifier 2023-09-26 15:48:40 +02:00
Peter
bba97aa01a feat(svelte) added connectionLineComponent 2023-09-26 15:45:06 +02:00
moklick
306f56d7f2 chore(react): export handleParentExpand 2023-09-26 13:09:50 +02:00
moklick
348f311fc7 feat(react,svelte): add nodeDragThreshold 2023-09-26 13:08:27 +02:00
moklick
b1aeac0828 Merge branch 'xyflow' of github.com:wbkd/react-flow into xyflow 2023-09-26 12:47:04 +02:00
Moritz Klack
ea73efa329 Merge pull request #3447 from wbkd/svelte-flow-fit-view-options
fix(xyflow) fitViewOptions
2023-09-26 12:46:55 +02:00
moklick
b3329253ed chore(svelte): cleanup examples 2023-09-26 12:46:32 +02:00
moklick
e3ed768f6d chore(changelog): update 2023-09-26 12:41:18 +02:00
Peter
88e840ccc9 pull request review 2023-09-26 11:17:21 +02:00
Peter
26a28109a2 Merge branch xyflow into svelte-flow-fit-view-options 2023-09-26 11:08:29 +02:00
Peter
461eb1a829 Merge branch 'svelte-flow-default-edge-option' into svelte-flow-fit-view-options 2023-09-26 11:03:17 +02:00
Peter
5d742b4d9c pull request review 2023-09-26 10:57:02 +02:00
Peter
e56e6a9a6b fix(svelte) only updated defaultEdgeOptions once on Mount 2023-09-26 10:20:13 +02:00
Moritz Klack
c251b9ee29 Merge pull request #3449 from wbkd/svelte-flow-connection-mode
[svelte-flow] added connectionMode prop
2023-09-25 17:17:22 +02:00
Moritz Klack
b297870586 Merge branch 'xyflow' into svelte-flow-connection-mode 2023-09-25 17:17:12 +02:00
Moritz Klack
8c2cf9bffe Merge pull request #3448 from wbkd/svelte-flow-on-edge-context-menu
feat(svelte) added on:edgecontextmenu
2023-09-25 17:15:33 +02:00