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 e40a128 commit 37a40d0Copy full SHA for 37a40d0
cyaron/graph.py
@@ -89,8 +89,6 @@ def add_edge(self, x, y, **kwargs):
89
int y -> the end vertex
90
**kwargs(Keyword args):
91
int weight = 1 -> the weight
92
- bool directed = True -> whether the graph is directed(true:directed,false:not directed)
93
- not directed means if you added the edge x->y, you would also add the edge y->x
94
"""
95
weight = kwargs.get("weight", 1)
96
self.__add_edge(x, y, weight)
0 commit comments