moklick
d07e76018f
fix(minZoom,maxZoom): pass min- maxZoom for initial view closes #2343
2022-08-05 18:12:02 +02:00
Fabian Bieler
49636be0e9
fix(validation): Remove css-classes if mouse moves directly to different handle.
...
If two handles are next to each other or overlap it is possible for the
mouse-cursor to move from one handle to the other without a
mouse-move-event being fired where isHoveringHandle is false.
Thus, the valid and connecting css-classes were not removed from the
handle.
This commit fixes this.
2022-07-28 11:41:16 +02:00
moklick
257588ce30
refactor(node-dimensions): use store domNode for calculation #2316
2022-07-25 12:25:14 +02:00
moklick
3ca4412f19
fix(nodes-selection): use correct selector
2022-07-18 16:47:00 +02:00
moklick
e1ba32f8a1
refactor(connection-line): add from, to props and cleanup closes #2031
2022-07-18 16:37:41 +02:00
moklick
e8cf308f84
chore(useStore): cleanup selectors
2022-07-18 15:43:22 +02:00
moklick
3c8720a5cf
refactor(onConnect): use onConnect handlers from store #2230
2022-07-18 12:52:17 +02:00
moklick
60bbbb4d58
fix(expandParent): check for dimensions closes #2280
2022-07-18 12:05:03 +02:00
moklick
8d866ec675
fix(handles): calculate correct position
2022-07-14 20:21:08 +02:00
moklick
c0733e694c
refactor(setViewport): use existing x,y,zoom when passed partially #2276
2022-07-14 15:46:41 +02:00
moklick
30cd89917e
fix(handle-calculation): dont rely on current viewport #2032 #2276
2022-07-12 15:46:23 +02:00
moklick
481420c930
refactor(zoom/pan): don't interrupt with selection key closes #2244
2022-07-11 17:57:44 +02:00
moklick
044095bda1
fix(onNodeDrag): show correct position closes #2246
2022-07-11 16:13:33 +02:00
moklick
8d530c192a
refactor(connection-valid): handle source-source, target-target #2253
2022-07-11 15:19:07 +02:00
moklick
907e3b26cb
refactor(nodes): prevent jumping
2022-06-22 17:40:59 +02:00
moklick
3b94186903
fix(subflows): node extent relative to parent closes #2232
2022-06-21 18:06:07 +02:00
moklick
02e7c902fe
fix(visible-edges): handle subflows closes #2192
2022-06-21 17:41:26 +02:00
moklick
3d74b519b5
refactor(markers): optimze marker creation, pass ids closes #2188
2022-06-21 17:15:58 +02:00
moklick
f52ab12f57
chore(internals): export symbol for accessing internals closes #2078
2022-06-21 12:35:14 +02:00
moklick
dbd527acd0
fix(fitview): handle child nodes closes #2223
2022-06-21 12:33:05 +02:00
moklick
aae202388f
refactor(drag-handler): allow multiselection with ctrl #2203
2022-06-16 13:35:45 +02:00
moklick
7cddc81d86
refactor(zoomActivationKeyCode): accept null, cleanup types cloeses #2211
2022-06-16 13:33:36 +02:00
moklick
d6de9c2c12
style(handles): put position in default styles closes #2193
2022-06-16 13:33:36 +02:00
moklick
e03d6c23ec
fix(selection): only calculate selection box if selected nodes > 0
2022-06-16 13:33:36 +02:00
moklick
0724936be4
fix(nodes): draggable when toggle hidden prop closes #2205
2022-06-07 23:11:32 +02:00
Moritz Klack and GitHub
26795be7fb
fix(subflows): use abs positions for internal calculations ( #2189 )
...
* refactor(dragging): only use absolute positions
* refactor(drag): handle node extent
* refactor(drag-handler): return latest data
* refactor(use-drag): cleanup
fixes #2181
2022-06-01 12:55:36 +02:00
moklick
403bf71aeb
fix(uncontrolled-flow): keep internals
2022-05-28 22:05:08 +02:00
Moritz Klack and GitHub
5e02dd4c13
Merge pull request #2178 from wbkd/refactor/hide-internals
...
refactor(internals): use non enumerable props
2022-05-28 16:37:42 +02:00
moklick
96f4dcb4b7
fix(node-type): add optional dragging key
2022-05-28 16:33:20 +02:00
Braks and GitHub
d0efd5b791
fix(drag): set dragging to false on drag end
...
# What's changed?
* Set `dragging` to `false` on drag end event
# Fixes
* #2183
2022-05-27 23:53:33 +02:00
moklick
2ed3ffe818
refactor(internals): make prop optional
2022-05-26 20:57:12 +02:00
moklick
ee7084b5dc
refactor(inrernals): use one prop for all internals
2022-05-26 20:20:35 +02:00
moklick
732d92d10b
chore(types): cleanup
2022-05-26 19:56:41 +02:00
moklick
27b5de2d96
refactor(internals): use non enumerable props
2022-05-26 19:55:03 +02:00
moklick
ea6247f4a1
refactor(edges): compatible with immutable libs closes #2170
2022-05-26 18:58:57 +02:00
moklick
b6eb0acb30
refactor(node-changes): add dragging flag closes #2171
2022-05-26 18:40:39 +02:00
moklick
101f5d25d0
fix(no-drag): handle noDragClassName correctly closes #2172
2022-05-26 17:54:38 +02:00
moklick
d7020cf6f7
refactor(useDrag): cleanup
2022-05-25 13:01:10 +02:00
moklick
32559efc8c
fix(touch-devices): use touches for node drag
2022-05-25 12:58:35 +02:00
moklick
78b5077652
refactor(bg): set scaled gap to 1 if equals 0 closes #2083
2022-05-23 16:32:11 +02:00
moklick
37d473c940
refactor(node-renderer): use default type if type is invalid closes #2033
2022-05-22 16:56:11 +02:00
moklick
670b605127
refactor(connection-line): remove <g>
2022-05-22 14:23:20 +02:00
Moritz Klack and GitHub
622880ae33
Merge pull request #2159 from RunDevelopment/issue2158
...
Added `connectionLineContainerStyle` property
2022-05-22 14:21:26 +02:00
moklick
0dc3c04a10
fix(node-renderer): use correct types
2022-05-22 14:18:05 +02:00
moklick
3cf32ccb7b
refactor(nodes-selection): cleanup
2022-05-22 14:12:32 +02:00
moklick
a88e53ddc5
refactor(nodes): simplify selection handling
2022-05-22 14:09:40 +02:00
RunDevelopment
daf5927c09
Formatting
2022-05-22 12:13:37 +02:00
RunDevelopment
225298447d
Set z-index via CSS
2022-05-22 12:13:31 +02:00
RunDevelopment
b2ccf1d002
Fixed class name
2022-05-22 12:05:25 +02:00
moklick
21f56db09a
refactor(store): add function for updating selection changes
2022-05-22 10:41:31 +02:00