mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 04:38:55 +08:00
feat: combo force layout with preventOverlap.
This commit is contained in:
parent
9b69551f5a
commit
edf314db57
@ -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;
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user