Remove logging
This commit is contained in:
@@ -239,7 +239,6 @@ function ended() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function brushEnded() {
|
function brushEnded() {
|
||||||
console.log("brushEnded");
|
|
||||||
var s = d3.event.selection,
|
var s = d3.event.selection,
|
||||||
results = [];
|
results = [];
|
||||||
|
|
||||||
@@ -273,7 +272,6 @@ function brushEnded() {
|
|||||||
* @param {*} node
|
* @param {*} node
|
||||||
*/
|
*/
|
||||||
function formatTooltip(node) {
|
function formatTooltip(node) {
|
||||||
console.log("formatTooltip", node);
|
|
||||||
var textString = "",
|
var textString = "",
|
||||||
temp = "";
|
temp = "";
|
||||||
|
|
||||||
@@ -318,7 +316,6 @@ function getAverage(array) {
|
|||||||
* @param {*} data
|
* @param {*} data
|
||||||
*/
|
*/
|
||||||
function unSelectNodes(data) {
|
function unSelectNodes(data) {
|
||||||
console.log("unSelectNodes", data);
|
|
||||||
selectedData = data;
|
selectedData = data;
|
||||||
if (fileName === data.name && nodes) {
|
if (fileName === data.name && nodes) {
|
||||||
node
|
node
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export default function (sim, forceS, forceF) {
|
|||||||
function initForces(){
|
function initForces(){
|
||||||
if (forceSample.stableVelocity && forceSample.stableVeloHandler) {
|
if (forceSample.stableVelocity && forceSample.stableVeloHandler) {
|
||||||
forceSample
|
forceSample
|
||||||
.stableVelocity(0.000001) //TODO
|
.stableVelocity(0) //TODO
|
||||||
.stableVeloHandler(sampleEnded);
|
.stableVeloHandler(sampleEnded);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -62,10 +62,9 @@ export default function () {
|
|||||||
velocityDiff /= n*(neighbourSize+sampleSize);
|
velocityDiff /= n*(neighbourSize+sampleSize);
|
||||||
|
|
||||||
if(stableVeloHandler!==null && velocityDiff<stableVelocity){
|
if(stableVeloHandler!==null && velocityDiff<stableVelocity){
|
||||||
//TODO remove console logs
|
|
||||||
console.log("Neighbour sampling is now", velocityDiff, ", calling stableVeloHandler().")
|
|
||||||
stableVeloHandler();
|
stableVeloHandler();
|
||||||
}
|
}
|
||||||
|
//TODO remove console logs
|
||||||
else console.log(velocityDiff);
|
else console.log(velocityDiff);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user