mirror of
https://github.com/ansible/awx.git
synced 2026-07-06 22:08:08 -02:30
Some lint fixes; fix routesConfig unit test.
This commit is contained in:
@@ -111,14 +111,14 @@ function MeshGraph({ showLegend, zoom }) {
|
||||
const graph = data;
|
||||
|
||||
const simulation = d3
|
||||
.forceSimulation()
|
||||
.forceSimulation(graph.nodes)
|
||||
.force(
|
||||
'charge',
|
||||
d3.forceManyBody(defaultForceBody).strength(defaultForceStrength)
|
||||
)
|
||||
.force(
|
||||
'link',
|
||||
d3.forceLink().id((d) => d.hostname)
|
||||
d3.forceLink(graph.links).id((d) => d.hostname)
|
||||
)
|
||||
.force('collide', d3.forceCollide(defaultCollisionFactor))
|
||||
.force('forceX', d3.forceX(defaultForceX))
|
||||
|
||||
Reference in New Issue
Block a user