Peter
2d2f642c82
feat(react) added screenToFlowCoordinate & flowToScreenCoordinate
2023-10-05 10:34:58 +02:00
Moritz Klack and GitHub
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
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
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
Peter
beecd9623b
refined example
2023-09-26 15:49:09 +02:00
Peter
bba97aa01a
feat(svelte) added connectionLineComponent
2023-09-26 15:45:06 +02:00
moklick
348f311fc7
feat(react,svelte): add nodeDragThreshold
2023-09-26 13:08:27 +02:00
moklick
b3329253ed
chore(svelte): cleanup examples
2023-09-26 12:46:32 +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 and GitHub
b297870586
Merge branch 'xyflow' into svelte-flow-connection-mode
2023-09-25 17:17:12 +02:00
Moritz Klack and GitHub
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
Peter
7b5d98fc82
fix(examples) added connectionMode prop to examples
2023-09-25 16:29:49 +02:00
Peter
9fe6dc57f4
fix(examples) removed connectionMode prop from overview
2023-09-25 16:28:17 +02:00
Peter
75434d059b
feat(svelte) added connectionMode prop
2023-09-25 15:58:12 +02:00
Peter
852372f41b
feat(svelte) added on:edgecontextmenu
2023-09-25 15:32:40 +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
Peter
339df4c651
feat(svelte) add defaultEdgeOptions, closes #3437
2023-09-25 10:36:31 +02:00
Peter
8100390142
feat(svelte) add attributionPosition and proOptions, closes #3424
2023-09-25 10:00:38 +02:00
Peter
6b7e72b06c
feat(svelte) add autoPanOnConnect autoPanOnNodeDrag props
2023-09-21 12:59:56 +02:00
Moritz Klack and GitHub
1d19ccb8b2
Merge pull request #3417 from wbkd/svelte-flow-node-drag
...
feat(svelte) added nodedrag events
2023-09-20 15:51:33 +02:00
moklick
c61a9f3c9b
chore(svelte): cleanup node drag handlers, add to changelog
2023-09-20 15:51:17 +02:00
Peter
5741392644
feat(svelte) added on:nodecontextmenu
2023-09-20 15:14:52 +02:00
Peter
4dd231a3c9
chore(svelte-examples) made examples more svelty
2023-09-20 13:06:59 +02:00
Peter
3c3239afd8
feat(svelte) added nodedrag events
2023-09-20 12:05:16 +02:00
moklick
087ef82618
fix(svelte): pass dragHandle #3398
2023-09-18 14:19:16 +02:00
moklick
f919cb152d
feat(svelte): add updateNodeInternals
2023-09-14 19:31:15 +02:00
moklick
89610ccd29
fix(nodes/edges): handle hidden attribute closes #3387
2023-09-14 18:24:15 +02:00
moklick
bd6f774de6
fix(edges): make it possible to change edge type dynamically closes #3386
2023-09-14 18:13:33 +02:00
Moritz Klack and GitHub
dcc38794a6
chore(svelte-examples): pull out of lib package ( #3363 )
...
* chore(svelte-examples): pull out of lib package
* chore(svelte-examples): cleanup
* chore(examples): add readme files
2023-08-31 16:44:27 +02:00
Moritz Klack and GitHub
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
ab30b1c958
Merge branch 'xyflow' of github.com:wbkd/react-flow into xyflow
2023-08-16 10:53:00 +02:00
moklick
258244f368
fix(move-events): fire for panOnScroll
2023-08-16 10:51:55 +02:00
moklick
6cc6598014
chore(cypress): use latest version
2023-08-15 16:32:22 +02:00
moklick
9dfec49ed5
chore(system): rename BaseNode/BaseEdge types to NodeBase/EdgeBase
2023-06-13 16:54:26 +02:00
Moritz Klack and GitHub
65d1c3bbd4
Refactor/vanilla store utils ( #3138 )
...
* feat(stores): use vanilla store utils
* fix(store-utils): keep dimensions if possible
* feat(utils): add nodeDimension and panBy utils
* fix(svelte): use correct updateDim func
* refactor(react): cleanup store
* chore(tests): use new imports
2023-06-13 15:55:06 +02:00
moklick
a41ec8f1bc
chore(react): cleanup
2023-06-12 17:21:02 +02:00
moklick
c6501aff62
refactor(react): use array for nodeInternals, rename to nodes
2023-06-12 16:56:02 +02:00
moklick
c1e2499028
refactor(svelte/react): use edge layouting vanilla helpers
2023-06-08 15:46:35 +02:00
moklick
8354759f57
refactor(packages): change package structure
2023-06-05 15:40:18 +02:00
moklick
45f51e96b1
refactor(store): connection data
2023-06-05 00:02:07 +02:00