Skip to content

Commit ccd4785

Browse files
committed
adjusting minimal node size
1 parent d99ae9c commit ccd4785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/sankey/render.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function nodeModel(uniqueKeys, d, n) {
182182
zoneThicknessPad = c.nodePadAcross,
183183
zoneLengthPad = d.nodePad / 2,
184184
visibleThickness = n.dx,
185-
visibleLength = Math.max(1, n.dy);
185+
visibleLength = Math.max(0.5, n.dy);
186186

187187
var basicKey = n.label;
188188
var foundKey = uniqueKeys[basicKey];

0 commit comments

Comments
 (0)