From 5e7c3cc44fd97059718b2f58e8318d8367ecedb4 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sat, 17 Dec 2022 12:04:43 -0800 Subject: [PATCH] Typos in docs. --- src/pyutils/graph.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pyutils/graph.py b/src/pyutils/graph.py index 099bc2c..903be14 100644 --- a/src/pyutils/graph.py +++ b/src/pyutils/graph.py @@ -85,7 +85,7 @@ class Graph(object): def remove_edge(self, source: str, dest: str): """Remove a previously added edge in the graph. If the graph is - not directed (see :meth:`__ini__`), also removes the reciprocal + not directed (see :meth:`__init__`), also removes the reciprocal edge from dest back to source. .. note:: @@ -323,9 +323,9 @@ class Graph(object): graph g { node [shape=record]; - A -- B [w=3]; + A -- B [weight=3]; B -- D; - A -- C [w=2]; + A -- C [weight=2]; C -- D -- E -- F; F -- F; E -- G; -- 2.45.2