Skip to content

Commit 95e8392

Browse files
fix add_edges docstring
1 parent 7c6cc7d commit 95e8392

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GNNGraphs/transform.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ GNNGraph:
226226
julia> add_edges(g, [1,2], [2,3])
227227
GNNGraph:
228228
num_nodes: 3
229-
num_edges: 2
229+
num_edges: 2
230+
```
230231
"""
231232
add_edges(g::GNNGraph{<:COO_T}, snew::AbstractVector, tnew::AbstractVector; kws...) = add_edges(g, (snew, tnew, nothing); kws...)
232233
add_edges(g, data::Tuple{<:AbstractVector, <:AbstractVector}; kws...) = add_edges(g, (data..., nothing); kws...)

0 commit comments

Comments
 (0)