This commit is contained in:
crusader 2018-09-11 02:55:10 +09:00
parent 24b828d320
commit 0f5b0cf95c

View File

@ -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();
} }