ing
This commit is contained in:
parent
24b828d320
commit
0f5b0cf95c
|
@ -172,7 +172,7 @@ export class HomePageComponent implements OnInit, OnDestroy {
|
||||||
.force('link', d3.forceLink(this.links).distance(150))
|
.force('link', d3.forceLink(this.links).distance(150))
|
||||||
.force('center', d3.forceCenter(width / 2, height / 2))
|
.force('center', d3.forceCenter(width / 2, height / 2))
|
||||||
.force('collision', d3.forceCollide().radius(function (node: Node) {
|
.force('collision', d3.forceCollide().radius(function (node: Node) {
|
||||||
return node.r;
|
return node.r * 1.4;
|
||||||
}))
|
}))
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
@ -267,8 +267,6 @@ export class HomePageComponent implements OnInit, OnDestroy {
|
||||||
public DiscoveryStop(stopDate: Date) {
|
public DiscoveryStop(stopDate: Date) {
|
||||||
console.log('DiscoveryStop', stopDate);
|
console.log('DiscoveryStop', stopDate);
|
||||||
|
|
||||||
this.simulationRestart();
|
|
||||||
|
|
||||||
this.simulation.stop();
|
this.simulation.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user