@@ -76,7 +76,7 @@ function graphline(g::AbstractGraph{T}, locs_x, locs_y, nodesize::Real) where {T
76
76
end
77
77
78
78
function graphcurve (g:: AbstractGraph{T} , locs_x, locs_y, nodesize:: Vector{<:Real} , arrowlength, angleoffset, outangle= pi / 5 ) where {T<: Integer }
79
- curves = Array {Vector{Tuple{Real,Real }}} (undef, ne (g))
79
+ curves = Vector {Vector{Tuple{Float64,Float64 }}} (undef, ne (g))
80
80
arrows = Array {Vector{Tuple{Float64,Float64}}} (undef, ne (g))
81
81
for (e_idx, e) in enumerate (edges (g))
82
82
i = src (e)
@@ -104,7 +104,7 @@ function graphcurve(g::AbstractGraph{T}, locs_x, locs_y, nodesize::Vector{<:Real
104
104
end
105
105
106
106
function graphcurve (g, locs_x, locs_y, nodesize:: Real , arrowlength, angleoffset, outangle= pi / 5 )
107
- curves = Array {Vector{Tuple{Real,Real }}} (undef, ne (g))
107
+ curves = Vector {Vector{Tuple{Float64,Float64 }}} (undef, ne (g))
108
108
arrows = Array {Vector{Tuple{Float64,Float64}}} (undef, ne (g))
109
109
for (e_idx, e) in enumerate (edges (g))
110
110
i = src (e)
@@ -132,7 +132,7 @@ function graphcurve(g, locs_x, locs_y, nodesize::Real, arrowlength, angleoffset,
132
132
end
133
133
134
134
function graphcurve (g, locs_x, locs_y, nodesize:: Real , outangle)
135
- curves = Array {Vector{Tuple{Real,Real }}} (undef, ne (g))
135
+ curves = Vector {Vector{Tuple{Float64,Float64 }}} (undef, ne (g))
136
136
for (e_idx, e) in enumerate (edges (g))
137
137
i = src (e)
138
138
j = dst (e)
@@ -156,7 +156,7 @@ function graphcurve(g, locs_x, locs_y, nodesize::Real, outangle)
156
156
end
157
157
158
158
function graphcurve (g:: AbstractGraph{T} , locs_x, locs_y, nodesize:: Vector{<:Real} , outangle) where {T<: Integer }
159
- curves = Array {Vector{Tuple{Real,Real }}} (undef, ne (g))
159
+ curves = Vector {Vector{Tuple{Float64,Float64 }}} (undef, ne (g))
160
160
for (e_idx, e) in enumerate (edges (g))
161
161
i = src (e)
162
162
j = dst (e)
0 commit comments