mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 21:07:39 -02:30
Small layout adjustment.
This commit is contained in:
@@ -59,12 +59,11 @@ function MeshGraph({ data, showLegend, zoom, setShowZoomControls }) {
|
||||
const graph = data;
|
||||
|
||||
const simulation = d3
|
||||
.forceSimulation(graph.nodes)
|
||||
.forceSimulation()
|
||||
.nodes(graph.nodes)
|
||||
.force(
|
||||
'charge',
|
||||
d3
|
||||
.forceManyBody(MESH_FORCE_LAYOUT.defaultForceBody)
|
||||
.strength(MESH_FORCE_LAYOUT.defaultForceStrength)
|
||||
d3.forceManyBody().strength(MESH_FORCE_LAYOUT.defaultForceStrength)
|
||||
)
|
||||
.force(
|
||||
'link',
|
||||
|
||||
Reference in New Issue
Block a user