in evaluation/metrics.js [11:20]
function applyTreatment(treatment, nodes){ if(_.isFunction(treatment)){ return treatment(nodes); } else{ return (new labella.Force(treatment)) .nodes(nodes) .compute(); } }