moklick
|
bef6157097
|
refactor(bezier): handle undirectional flows, use simple bezier for connection closes #1971
|
2022-03-17 13:09:17 +01:00 |
|
moklick
|
bdc75c3bec
|
chore(attr): add sponsor
|
2022-03-17 00:24:45 +01:00 |
|
Christopher Möller
|
2db2cddb5a
|
chore(attribution): change link in attribution notice
|
2022-03-16 16:36:06 +01:00 |
|
moklick
|
bfe06a5c48
|
chore(bezier-edge): less curvy by default
|
2022-03-14 19:27:41 +01:00 |
|
Joey Ballentine
|
9128967ea7
|
Fix merge conflict
|
2022-03-14 12:55:14 -04:00 |
|
Joey Ballentine
|
2018f930ad
|
Merge remote-tracking branch 'wbkd/v10' into v10-bezier-fix
|
2022-03-14 12:54:46 -04:00 |
|
Joey Ballentine
|
6f51af2074
|
Improve UE-style Bezier Edge calculation
|
2022-03-14 12:52:18 -04:00 |
|
moklick
|
9fff0e5c69
|
refactor(bezier-edge): only do calculations when necessary
|
2022-03-14 17:44:33 +01:00 |
|
moklick
|
bc5d1df10e
|
refactor(edges): add BaseEdge
|
2022-03-14 16:27:44 +01:00 |
|
moklick
|
b362c11851
|
refactor(edges): use new edge as default, add simplebezier
|
2022-03-14 16:01:00 +01:00 |
|
Joey Ballentine
|
3c96b07c9c
|
Rename to "unreal" edge, fix for both horizontal and vertical handles
|
2022-03-14 01:06:26 -04:00 |
|
Joey Ballentine
|
726bc2e0b3
|
Add Unreal Engine style bezier edge
|
2022-03-14 01:06:14 -04:00 |
|
moklick
|
64a3c2d48a
|
chore(attribution): update options
|
2022-03-06 15:14:14 +01:00 |
|
moklick
|
a45af5f0f8
|
refactor(handle): only listen to left click events closes #1852
|
2022-02-22 17:53:50 +01:00 |
|
moklick
|
67b71a9190
|
fix(selection-change): only trigger once
|
2022-02-22 17:49:10 +01:00 |
|
Himself65
|
76ff49196d
|
fix: export type OnNodesDelete and OnEdgesDelete
|
2022-02-21 13:24:34 -06:00 |
|
moklick
|
e011375c3d
|
feat(props): add onNodesDelete and onEdgesDelete handler
|
2022-02-20 21:17:59 +01:00 |
|
moklick
|
8dcb8758a8
|
feat(nodes): add group type
|
2022-01-29 22:14:45 +01:00 |
|
moklick
|
578c278b31
|
refactor(wrapnode): create mouse handler util hook
|
2022-01-28 17:05:40 +01:00 |
|
moklick
|
588b590e14
|
refactor(wrapnode): pass shallow clones to handlers
|
2022-01-28 16:46:35 +01:00 |
|
moklick
|
c40a36fdb6
|
refactor(wrapnode): get node from store in event handlers
|
2022-01-28 15:02:52 +01:00 |
|
moklick
|
7e915ad39f
|
refactor(nodes): re-init when sourcePos, targetPos or type changes
|
2022-01-28 14:48:14 +01:00 |
|
Christopher Möller
|
af52bab2a5
|
refactor(fitView): use same fitView function for viewport helper and initial prop
|
2022-01-27 13:00:03 +01:00 |
|
moklick
|
0cfcf656a0
|
refactor(defaultNode/Edges): always trigger onNodesChange and onEdgesChange
|
2022-01-20 17:55:27 +01:00 |
|
moklick
|
e52c5eda19
|
refactor(types): drop NodeInternalsItem type
|
2022-01-19 22:17:07 +01:00 |
|
Christopher Möller
|
f95f390cb3
|
chore(nodes): prevent crashing when data is not set on nodes object
|
2022-01-19 18:47:52 +01:00 |
|
moklick
|
634b592b3a
|
feat(general): add defaultNodes, defaultEdges and defaultEdgeOptions
|
2022-01-18 13:05:41 +01:00 |
|
moklick
|
660ec00be5
|
refactor(store): cleanup
|
2022-01-17 15:15:48 +01:00 |
|
moklick
|
0b241d27c1
|
feat(attribution): add react flow attribution
|
2022-01-05 16:45:04 +01:00 |
|
moklick
|
6bbd06a16e
|
fix(selection): use start x and y when direction changes
|
2021-12-18 14:28:01 +01:00 |
|
moklick
|
d8b054c7d6
|
feat(props): add connectOnClick
|
2021-12-17 10:49:05 +01:00 |
|
moklick
|
3b25086149
|
feat(nodes): connect on touch device
|
2021-12-17 10:35:53 +01:00 |
|
moklick
|
895e0bc524
|
refactor(store): use store.setState directly instead of actions
|
2021-12-11 05:22:41 +01:00 |
|
moklick
|
1a2ac5aa3e
|
refactor(storeupdater): cleanup
|
2021-12-10 00:35:41 +01:00 |
|
moklick
|
81585dbff5
|
refactor(general): cleanup
|
2021-12-09 09:17:36 +01:00 |
|
moklick
|
88582a86cc
|
refactor(general): fit view in store to prevent flickering, rename onLoad => onPaneReady
|
2021-12-09 07:24:45 +01:00 |
|
moklick
|
266007b38b
|
feat(rf): add fitViewOnInit option
|
2021-12-08 23:19:43 +01:00 |
|
moklick
|
2e83af4638
|
Merge branch 'main' into v10
|
2021-12-04 01:01:25 +01:00 |
|
moklick
|
14b9ec4a6a
|
refactor(wrapNode): simplify mouse handler
|
2021-11-28 02:48:09 +01:00 |
|
moklick
|
801d8f2ad4
|
fix(subflows): handle selections correctly
|
2021-11-26 19:35:31 +01:00 |
|
moklick
|
330eefe695
|
refactor(selection): only fire selection changes that changed
|
2021-11-26 18:42:52 +01:00 |
|
moklick
|
d260abec75
|
refactor(actions): addSelectedElements => addSelectedNodes, addSelectedEdges
|
2021-11-26 15:18:27 +01:00 |
|
moklick
|
33255635af
|
refactor(edge-renderer): cleanup
|
2021-11-26 07:07:21 +01:00 |
|
Christopher Möller
|
b2ac219912
|
refactor(edge): pass onEdgeUpdate instead of creating onConnect function
|
2021-11-25 16:04:08 +01:00 |
|
Christopher Möller
|
0f480444f2
|
chore(markers): cleanup marker api
|
2021-11-24 12:02:09 +01:00 |
|
moklick
|
296289710f
|
refactor(store): reset on unmount
|
2021-11-23 18:37:12 +01:00 |
|
moklick
|
8a095df192
|
refactor(nodes): only observe node when not hidden
|
2021-11-23 17:58:53 +01:00 |
|
Christopher Möller
|
9d159c1e87
|
chore(types): enforce defaultProps inside react flow component
|
2021-11-18 18:01:20 +01:00 |
|
Christopher Möller
|
004dcc6528
|
feat(selection): disable pane movement when selection is dragged
|
2021-11-18 16:53:41 +01:00 |
|
moklick
|
fe9c1f02dc
|
refactor(nodes-edges): rename isHidden to hidden
|
2021-11-18 13:06:14 +01:00 |
|