moklick
eecfddc55b
fix(selection): use correct x y for selection rect on direction change closes #1772
2021-12-18 14:39:01 +01:00
Moritz Klack
d880c13754
Merge pull request #1590 from doctoroyy/fix/first-render
...
fix: avoid render all nodes at first render if set width
2021-12-03 23:28:43 +01:00
moklick
f913ae77ff
refactor(zoomPanHelper): add duration to fit view params
2021-12-03 23:22:01 +01:00
moklick
d9e0f2a555
Merge branch 'main' of github.com:wbkd/react-flow
2021-12-02 22:28:35 +01:00
Moritz Klack
70b85692ea
Merge pull request #1699 from Mahdi-Esbati/feature/d3-smooth-transition
...
Smooth transitions for useZoomPanHelper using built-in d3 functions
2021-12-02 22:28:26 +01:00
moklick
ebd5a5f0a0
fix(pos-updates): multi selection drag
2021-12-02 22:24:34 +01:00
Mahdi
7dc8311476
set the default animation duration to 0ms
2021-12-03 00:51:26 +03:30
Michal Srb
c1b9275083
Fix bug in updateNodePosDiff action
...
This is the intended logic. Without it triggering this action with a node id will always move selected nodes, which is not desirable if we want to move just an unselected node.
The bug doesn't show up in current examples because at the moment either one selected node is moved or all the selected nodes are moved. TBH this should probably be changed to accept `ids` instead to handle the two cases instead of this tight coupling between the group selection code and this action.
2021-11-29 08:38:49 +01:00
Mahdi Esbati
83362c187c
implement smooth transitions for useZoomPanHelper using d3
2021-11-21 13:24:03 +03:30
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
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
Clément Loridan
a09c35921a
merge(connectionLine): wbkd/react-flow:main
2021-10-21 14:05:34 +03:00
Moritz Klack
5cecc27ee9
Merge pull request #1574 from EmilienLeroux/bug/ControlButton_avoid-submit-form
...
fix(ControlButton): avoid submit form by click on default ControlButtons
2021-10-18 15:38:18 +02:00
Émilien Leroux
e4fd191192
fix(ControlButton): avoid submit form by click on default ControlButtons
2021-10-18 14:02:19 +02:00
doctoroyy
38f18d89d7
fix: avoid render all nodes at first render if set width
2021-10-15 21:11:28 +08:00
Christopher Möller
f30ba98a53
feat(BezierEdge): use quadratic bezier curve for top-left and bottom-right edges
2021-10-13 16:43:11 +02:00
moklick
ae621d084c
chore(selection-listener): remove easy-peasy related comment
2021-10-06 10:30:08 +02:00
datoslabs
0d497b6569
Add optional node dragHandle prop as DraggableCore handle.
...
#1413
2021-10-04 16:20:44 -04:00
Clément Loridan
596aaee9dd
fix(store): add type
2021-09-23 10:46:39 +02:00
Clément Loridan
ae4bce1295
fix(connectionLine): sourceHandle with connectionMode = loose
2021-09-22 18:07:24 +02:00
moretall
eff3e72e4f
Fix when it disappears when connecting an edge to update to a new node
2021-09-13 16:50:02 +09:00
moklick
4a5ceb3fd7
refactor(handle): forward ref closes #1458 closes #1385
2021-09-01 23:04:24 +02:00
moklick
e744c41821
refactor(ts): ignore for shadow root elementFromPoint
2021-09-01 22:37:01 +02:00
moklick
1aacf04433
fix(onMoveStart): trigger always closes #1452
2021-09-01 22:36:37 +02:00
DiamondDrake
d51d677106
removed copy pasta null
2021-07-20 15:43:28 -04:00
DiamondDrake
b7e63c17e7
Extend Connection Line props
...
Include Node and Handle in props passed to custom connection lines for advanced usage.
2021-07-20 15:39:11 -04:00
moklick
41db69e06c
fix(nodes): dont select nodes when selectable=false closes #1324
2021-07-20 17:59:04 +02:00
moklick
595a715a0f
refactor(exports): export all edges closes #1355
2021-07-20 11:53:59 +02:00
moklick
ef47500122
feat(props): add preventScrolling prop closes #1077
2021-07-01 15:30:29 +02:00
moklick
55d95d3684
refactor(panOnScroll): check nowheel class closes #1322
2021-07-01 14:18:03 +02:00
moklick
310bee0dc8
feat(fitView): add minZoom and maxZoom params closes #1301
2021-06-23 14:28:48 +02:00
Moritz Klack
6c834c80c0
Merge pull request #1272 from flamewow/fix/smoothStepEdge
...
fixed smoothStepEdge behaviour for sourceX > targetX case
2021-06-23 12:44:10 +02:00
Ilya Moroz
87d518f8b5
fixed smoothStepEdge behaviour for sourceX > targetX for sourcePosition === Position.Right && targetPosition === Position.Left case
2021-06-16 15:00:16 +03:00
moklick
d480d25761
refactor(controls): use button element for buttons instead of divs closes #1228
2021-06-16 11:37:41 +02:00
moklick
27e2781d8c
feat(props): add onEdgeUpdateEnd handler closes #1157
2021-05-29 15:12:31 +02:00
moklick
3124d46732
refactor(edge-updater): pass handle type #1212
2021-05-28 14:26:03 +02:00
moklick
64510998c0
fix(layouting): update node dimensions closes #1181
2021-05-28 13:08:17 +02:00
moklick
3232a33e9e
feat(edgeUpdate): add onEdgeUpdateStart handler closes #1120
2021-04-30 16:09:46 +02:00
moklick
7c62787c98
refactor(wrapNode): dont call dimension update twice on mount #1075
2021-04-29 17:27:29 +02:00
moklick
047366d71c
refactor(props): set default of onlyRenderVisibleElements=false #1075
2021-04-29 17:26:11 +02:00
moklick
ba388514bd
refactor(edgetext): catch pointer events closes #1121
2021-04-24 23:24:04 +02:00
moklick
a54ca3e1e9
refactor(controls): dont render controls immediately closes #1051
2021-04-24 14:59:20 +02:00
moklick
74c7fca80e
refactor(utils): export getRectOfNodes closes #1107
2021-04-24 14:29:52 +02:00
Moritz Klack
6b6c85fe45
Merge pull request #1116 from clementloridan/main
...
fix(edge): change order of the first EdgeAnchor disturbed by the EdgeComponent
2021-04-24 14:15:05 +02:00
Clément Loridan
1bc4b46471
fix(edge: styles): click only on the stroke of the edge
2021-04-24 13:50:04 +03:00
Clément Loridan
0e9ae9fbc1
fix(edge): change order of the first EdgeAnchor disturbed by the EdgeComponent
2021-04-22 09:56:48 +03:00
moklick
8a08559d65
refactor(draggables): disable userSelectHack closes #1057
2021-04-17 20:59:39 +02:00
moklick
c638e780aa
refactor(edgetext): render children closes #1073
2021-04-17 20:57:07 +02:00