Change LinkForceTweaked name
This commit is contained in:
@@ -11,7 +11,7 @@ function startLinkSimulation() {
|
|||||||
let links = [], force;
|
let links = [], force;
|
||||||
|
|
||||||
if (tweakedVerOfLink) {
|
if (tweakedVerOfLink) {
|
||||||
force = d3.forceLinkTweaked()
|
force = d3.forceLinkFullyConnected()
|
||||||
.distance(function (n) {
|
.distance(function (n) {
|
||||||
return distanceFunction(n.source, n.target, props, norm);
|
return distanceFunction(n.source, n.target, props, norm);
|
||||||
});
|
});
|
||||||
|
|||||||
2
index.js
2
index.js
@@ -13,7 +13,7 @@ export { default as forceBarnesHut}
|
|||||||
export { default as tSNE}
|
export { default as tSNE}
|
||||||
from "./src/t-sne";
|
from "./src/t-sne";
|
||||||
|
|
||||||
export { default as forceLinkTweaked}
|
export { default as forceLinkFullyConnected}
|
||||||
from "./src/link";
|
from "./src/link";
|
||||||
|
|
||||||
export { default as hybridSimulation}
|
export { default as hybridSimulation}
|
||||||
|
|||||||
Reference in New Issue
Block a user