remove annealing on label change
This commit is contained in:
@@ -115,15 +115,11 @@
|
|||||||
n['LABEL'] = n['ORIG_LABEL'] + ' ' + n['ID'];
|
n['LABEL'] = n['ORIG_LABEL'] + ' ' + n['ID'];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
graph.wrapLabels(true).preventLabelOverlappingOnForceEnd(true).start();
|
graph.wrapLabels(true).start();
|
||||||
} else {
|
} else {
|
||||||
graph.inspect().main.nodes.each(function(n) {
|
graph.inspect().main.nodes.each(function(n) {
|
||||||
n['LABEL'] = n['ORIG_LABEL'];
|
n['LABEL'] = n['ORIG_LABEL'];
|
||||||
});
|
});
|
||||||
graph.preventLabelOverlappingOnForceEnd(
|
|
||||||
($("input[name='mapshow']:checked").val() == 'neighbors')
|
|
||||||
? true : false
|
|
||||||
);
|
|
||||||
graph.wrapLabels(false).start();
|
graph.wrapLabels(false).start();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user