You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@available(*, deprecated, renamed:"addEdge(_:)", message:"Use the 'addEdge' method without the additional 'directed' parameter instead, as the Edge already contains the information about direction.")
45
+
func addEdge(_ e:E, directed:Bool){
46
+
addEdge(e)
47
+
}
42
48
43
49
/// Returns a list of all the edges, undirected edges are only appended once.
44
50
publicfunc edgeList()->[E]{
@@ -137,12 +143,9 @@ extension Graph {
137
143
/// Add an edge to the graph.
138
144
///
139
145
/// - parameter e: The edge to add.
140
-
/// - parameter directed: If false, undirected edges are created.
0 commit comments