Skip to content

Commit e3a70dc

Browse files
committed
docs
1 parent b39a100 commit e3a70dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/MetaGraphsNext.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ issubset(g::T, h::T) where {T<:MetaGraph} = issubset(g.graph, h.graph)
8080
add_edge!(g, u, v, val)
8181
8282
Add an edge `(u, v)` to MetaGraph `g` having value `val`.
83+
84+
Return true if the edge has been added, false otherwise.
8385
"""
8486
function add_edge!(g::MetaGraph, u::Integer, v::Integer, val)
8587
added = add_edge!(g.graph, u, v)
@@ -104,7 +106,7 @@ end
104106
105107
Add a vertex to MetaGraph `g` with label `label` having value `val`.
106108
107-
return true if the vertex has been added, false otherwise.
109+
Return true if the vertex has been added, false otherwise.
108110
"""
109111
function add_vertex!(g::MetaGraph, label, val)
110112
added = add_vertex!(g.graph)

0 commit comments

Comments
 (0)