update
This commit is contained in:
@@ -164,9 +164,9 @@ export class GraphView {
|
|||||||
name: "concentric",
|
name: "concentric",
|
||||||
concentric: (node) => -((node.data("depth") as number) ?? 0),
|
concentric: (node) => -((node.data("depth") as number) ?? 0),
|
||||||
levelWidth: () => 1,
|
levelWidth: () => 1,
|
||||||
minNodeSpacing: 80,
|
minNodeSpacing: 40,
|
||||||
// @ts-ignore — spacingFactor exists in concentric layout
|
// @ts-ignore — spacingFactor exists in concentric layout
|
||||||
spacingFactor: 1.6,
|
spacingFactor: 0.9,
|
||||||
fit: true,
|
fit: true,
|
||||||
padding: 30,
|
padding: 30,
|
||||||
startAngle: -Math.PI / 2,
|
startAngle: -Math.PI / 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user