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.
195195**Examples**
196196```
197197julia> 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)))
201201julia> locs_x, locs_y = shell_layout(g, nlist)
202202```
203203"""
@@ -242,7 +242,7 @@ the edge weight. If None, then all edge weights are 1.
242242**Examples**
243243```
244244julia> g = smallgraph(:karate)
245- julia> weight = rand(num_edges (g))
245+ julia> weight = rand(ne (g))
246246julia> locs_x, locs_y = spectral_layout(g, weight)
247247```
248248"""
You can’t perform that action at this time.
0 commit comments