@@ -34,7 +34,7 @@ julia> AdjacencyMatrix(g)
34
34
1 1 0 0
35
35
36
36
julia> AdjacencyMatrix(g) |> Matrix
37
- 4×4 Array {Bool,2 }:
37
+ 4×4 Matrix {Bool}:
38
38
0 0 1 1
39
39
0 0 1 1
40
40
1 1 0 0
@@ -71,7 +71,7 @@ julia> gv = ValGraph(star_graph(4), edgeval_types=(Float64,), edgeval_init=(s, d
71
71
graph value types: ()
72
72
73
73
julia> adjacency_matrix(gv)
74
- 4×4 AdjacencyMatrix{ValGraph{Int64,Tuple{},Tuple{Float64},Tuple{},Tuple{},Tuple{Array{Array {Float64,1},1 }}}}:
74
+ 4×4 AdjacencyMatrix{ValGraph{Int64, Tuple{}, Tuple{Float64}, Tuple{}, Tuple{}, Tuple{Vector{Vector {Float64} }}}}:
75
75
0 1 1 1
76
76
1 0 0 0
77
77
1 0 0 0
@@ -201,13 +201,13 @@ julia> gv = ValDiGraph(path_digraph(3), edgeval_types=(a=Float64, b=String), ed
201
201
graph value types: ()
202
202
203
203
julia> ValMatrix(gv, 1, 0.0)
204
- 3×3 ValMatrix{Float64,ValDiGraph{Int64,Tuple{},NamedTuple{(:a, :b),Tuple{Float64,String}},Tuple{},Tuple{},NamedTuple{(:a, :b),Tuple{Array{Array {Float64,1},1},Array{Array {String,1},1 }}}},1}:
204
+ 3×3 ValMatrix{Float64, ValDiGraph{Int64, Tuple{}, NamedTuple{(:a, :b), Tuple{Float64, String}}, Tuple{}, Tuple{}, NamedTuple{(:a, :b), Tuple{Vector{Vector {Float64}}, Vector{Vector {String} }}}}, 1}:
205
205
0.0 0.823648 0.0
206
206
0.0 0.0 0.823648
207
207
0.0 0.0 0.0
208
208
209
209
julia> ValMatrix(gv, :b, nothing)
210
- 3×3 ValMatrix{Union{Nothing, String},ValDiGraph{Int64,Tuple{},NamedTuple{(:a, :b),Tuple{Float64,String}},Tuple{},Tuple{},NamedTuple{(:a, :b),Tuple{Array{Array {Float64,1},1},Array{Array {String,1},1 }}}},:b}:
210
+ 3×3 ValMatrix{Union{Nothing, String}, ValDiGraph{Int64, Tuple{}, NamedTuple{(:a, :b), Tuple{Float64, String}}, Tuple{}, Tuple{}, NamedTuple{(:a, :b), Tuple{Vector{Vector {Float64}}, Vector{Vector {String} }}}}, :b}:
211
211
nothing "1-2" nothing
212
212
nothing nothing "2-3"
213
213
nothing nothing nothing
0 commit comments