We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a064fc commit b5bfd3dCopy full SHA for b5bfd3d
drawings/simple_graph.js
@@ -235,16 +235,18 @@ Drawing.SimpleGraph = function(options) {
235
function animate() {
236
requestAnimationFrame( animate );
237
render();
238
- printInfo();
+ if(that.show_info) {
239
+ printInfo();
240
+ }
241
}
242
243
244
function render() {
245
if(!graph.layout.finished) {
- info_text.calc = "Calculating layout..."
246
+ info_text.calc = "Calculating layout...";
247
graph.layout.generate();
248
} else {
- info_text.calc = ""
249
+ info_text.calc = "";
250
251
252
for(var i=0; i<geometries.length; i++) {
0 commit comments