From c96dd51d24ea9f3b7fea4f65bd42d428b6f1e5db Mon Sep 17 00:00:00 2001 From: Pitchaya Boonsarngsuk <2285135b@student.gla.ac.uk> Date: Wed, 24 Jan 2018 21:42:48 +0000 Subject: [PATCH] Add entry to select between normal and tweaked Link Force - Tweaked link force should initialize and perform the calculation a tiny bit faster (maybe insignificant) --- ...3-force-neighbourSampling-papaparsing.html | 4 ++-- .../js/src/neighbourSampling-papaparsing.js | 3 ++- .../linkForce.js | 19 ++++++++++--------- index.js | 2 +- src/link.js | 10 +++++----- 5 files changed, 20 insertions(+), 18 deletions(-) diff --git a/examples/d3-force-neighbourSampling-papaparsing.html b/examples/d3-force-neighbourSampling-papaparsing.html index 817ec66..1549a70 100644 --- a/examples/d3-force-neighbourSampling-papaparsing.html +++ b/examples/d3-force-neighbourSampling-papaparsing.html @@ -209,8 +209,8 @@ - Link - force in D3
+ Link force in D3
+ Link force (tweaked)
Barnes-Hut
t-SNE