Rename function
This commit is contained in:
@@ -22,6 +22,7 @@ function startHybridSimulation() {
|
||||
let forceFull = d3.forceNeighbourSampling()
|
||||
.neighbourSize(FULL_NEIGHBOUR_SIZE)
|
||||
.sampleSize(FULL_SAMPLE_SIZE)
|
||||
.stableVelocity(0) // Change here
|
||||
.distance(distance)
|
||||
|
||||
let hybridSimulation = d3.hybridSimulation(simulation, forceSample, forceFull)
|
||||
|
||||
@@ -11,7 +11,7 @@ function startLinkSimulation() {
|
||||
let links = [], force;
|
||||
|
||||
if (tweakedVerOfLink) {
|
||||
force = d3.forceLinkFullyConnected()
|
||||
force = d3.forceLinkCompleteGraph()
|
||||
.distance(function (n, m) {
|
||||
return distanceFunction(n, m, props, norm);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user