From 79673aa31ea6dbd4a3cb21183871a4921327cf16 Mon Sep 17 00:00:00 2001 From: PrzemyslawPiotrN <137605813+PrzemyslawPiotrN@users.noreply.github.com> Date: Wed, 9 Aug 2023 21:50:18 +0200 Subject: [PATCH] fix typo in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +```