diff --git a/README.md b/README.md index d7f9aae..897da91 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ g.addEdge(new jsgraphs.Edge(6, 4, 0.93)); g.node(2).label = 'Hello'; // assign 'Hello' as label for node 2 g.edge(4, 5).label = 'World'; // edge between node 4 and 5 -console.log(g.V); // display 13, which is the number of vertices in g +console.log(g.V); // display 8, which is the number of vertices in g console.log(g.adj(0)); // display the adjacency list which are undirected edges connected to vertex 0 ``` @@ -536,4 +536,4 @@ for(var i = 0; i < minCut.length; ++i) { var e = minCut[i]; console.log('min-cut: (' + e.from() + ", " + e.to() + ')'); } -``` \ No newline at end of file +```