feat: combo force layout with preventOverlap.

This commit is contained in:
Yanyan-Wang 2020-04-08 13:51:16 +08:00 committed by Yanyan Wang
parent 9b69551f5a
commit edf314db57

View File

@ -519,7 +519,6 @@ export default class ComboForce extends BaseLayout {
if (c.maxY < nodeMaxY) c.maxY = nodeMaxY;
});
c.r = Math.max(c.maxX - c.minX, c.maxY - c.minY) / 2 + comboSpacing(c) / 2 + comboPadding(c);
return true;
});
});