From 0f5b0cf95cb4105d6895c289c3c671d39bea3a91 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 11 Sep 2018 02:55:10 +0900 Subject: [PATCH] ing --- src/app/pages/home/home-page.component.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/pages/home/home-page.component.ts b/src/app/pages/home/home-page.component.ts index 1a8075a..f6fb37b 100644 --- a/src/app/pages/home/home-page.component.ts +++ b/src/app/pages/home/home-page.component.ts @@ -172,7 +172,7 @@ export class HomePageComponent implements OnInit, OnDestroy { .force('link', d3.forceLink(this.links).distance(150)) .force('center', d3.forceCenter(width / 2, height / 2)) .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) { console.log('DiscoveryStop', stopDate); - this.simulationRestart(); - this.simulation.stop(); }