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 |
|
moklick
|
0974aa5732
|
refactor(nodes): only use node internals
|
2021-11-18 13:01:11 +01:00 |
|
moklick
|
8a2ac1e31e
|
refactor(types): cleanup
|
2021-11-09 14:52:39 +01:00 |
|
moklick
|
a79e953ab3
|
refactor(boolean-props): omit is prefix
|
2021-11-09 12:35:21 +01:00 |
|
moklick
|
050bb3130f
|
refactor(z-level): implement new stacking logic
|
2021-11-09 12:11:47 +01:00 |
|
moklick
|
b0bfefeef4
|
chore(example): add debug node
|
2021-11-08 17:55:02 +01:00 |
|
moklick
|
fdf2571402
|
feat(nodes): add extent option
|
2021-11-04 21:43:47 +01:00 |
|
moklick
|
996b1b51f5
|
refactor(store): rename nodeLookup to nodeInternals
|
2021-11-04 18:13:21 +01:00 |
|
moklick
|
50250e5670
|
refactor(connectionline): use abs pos
|
2021-11-04 15:32:04 +01:00 |
|
moklick
|
72f1d8b4e3
|
refactor(stlyes): use react-flow__container helper
|
2021-11-04 15:13:14 +01:00 |
|
moklick
|
5547b0d6cc
|
refactor(nodelookup): use as normale store item
|
2021-11-04 14:03:22 +01:00 |
|
Christopher Möller
|
1b390e103d
|
feat(stacking): simplify zIndex and treeLevel behaviour
|
2021-11-04 12:42:14 +01:00 |
|
Christopher Möller
|
79e46d90ad
|
wip: multiple edge renderers
|
2021-11-03 17:51:39 +01:00 |
|
moklick
|
248b563231
|
refactor(nodes): use relative positions for children
|
2021-11-02 18:58:47 +01:00 |
|
moklick
|
3cc33aa7cb
|
refactor(conenctionline): simplify getSourceHandle helper
|
2021-11-02 14:49:16 +01:00 |
|
moklick
|
6922c7f553
|
Merge branch 'main' of https://github.com/clementloridan/react-flow into clementloridan-main
|
2021-11-02 14:41:00 +01:00 |
|
moklick
|
8cd969dd84
|
refactor(wrapNode): call update dim when node is not initialized
|
2021-11-02 14:33:09 +01:00 |
|
moklick
|
6e3ff4e849
|
refactor(wrapNode): call updateNodeDim when target or source pos changes
|
2021-11-02 12:52:06 +01:00 |
|
moklick
|
74e860587c
|
refactor(node): pass width and height dep to style memo
|
2021-11-01 18:12:53 +01:00 |
|
moklick
|
371e8ddfd6
|
chore(edges): remove logs
|
2021-11-01 12:04:18 +01:00 |
|
moklick
|
03887ad79f
|
fix(edges): connect from left to right with connection mode loose closes #1613
|
2021-11-01 12:03:16 +01:00 |
|
Christopher Möller
|
241f604125
|
feat(nested-nodes): simplify nested node rendering
|
2021-10-27 15:38:29 +02:00 |
|
Christopher Möller
|
2252ea11ae
|
feat(nested-nodes): change data structure to flat array of nodes
|
2021-10-21 15:39:27 +02:00 |
|