Skip to content

Commit 75d9b38

Browse files
committed
Added info text.
1 parent 2aa04d5 commit 75d9b38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drawings/sphere_graph.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,8 @@ Drawing.SphereGraph = function(options) {
272272
// graph.layout = new Layout.ForceDirected(graph, {width: 2000, height: 2000, iterations: 2000});
273273
// }
274274
graph.layout.init();
275+
info_text.nodes = "Nodes " + graph.nodes.length;
276+
info_text.edges = "Edges " + graph.edges.length;
275277
}
276278

277279

0 commit comments

Comments
 (0)