File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -195,9 +195,9 @@ Vector of Vector, Vector of node Vector for each shell.
195
195
**Examples**
196
196
```
197
197
julia> g = smallgraph(:karate)
198
- julia> nlist = Array {Vector{Int}}(2 )
199
- julia> nlist[1] = [ 1:5]
200
- julia> nlist[2] = [6:num_vertiecs (g)]
198
+ julia> nlist = Vector {Vector{Int}}()
199
+ julia> push!( nlist, collect( 1:5))
200
+ julia> push!( nlist, collect(6:nv (g)))
201
201
julia> locs_x, locs_y = shell_layout(g, nlist)
202
202
```
203
203
"""
@@ -242,7 +242,7 @@ the edge weight. If None, then all edge weights are 1.
242
242
**Examples**
243
243
```
244
244
julia> g = smallgraph(:karate)
245
- julia> weight = rand(num_edges (g))
245
+ julia> weight = rand(ne (g))
246
246
julia> locs_x, locs_y = spectral_layout(g, weight)
247
247
```
248
248
"""
You can’t perform that action at this time.
0 commit comments