@@ -23,8 +23,8 @@ function graphline{T<:Real}(g, locs_x, locs_y, nodesize::Vector{T}, arrowlength,
23
23
end
24
24
25
25
function graphline {T<:Real} (g, locs_x, locs_y, nodesize:: T , arrowlength, angleoffset)
26
- lines = Array ( Vector{Tuple{Float64,Float64}}, _ne (g))
27
- arrows = Array ( Vector{Tuple{Float64,Float64}}, _ne (g))
26
+ lines = Array { Vector{Tuple{Float64,Float64}}} ( _ne (g))
27
+ arrows = Array { Vector{Tuple{Float64,Float64}}} ( _ne (g))
28
28
for (e_idx, e) in enumerate (_edges (g))
29
29
i = _src_index (e, g)
30
30
j = _dst_index (e, g)
@@ -44,7 +44,7 @@ function graphline{T<:Real}(g, locs_x, locs_y, nodesize::T, arrowlength, angleof
44
44
end
45
45
46
46
function graphline {T<:Real} (g, locs_x, locs_y, nodesize:: Vector{T} )
47
- lines = Array ( Vector{Tuple{Float64,Float64}}, _ne (g))
47
+ lines = Array { Vector{Tuple{Float64,Float64}}} ( _ne (g))
48
48
for (e_idx, e) in enumerate (_edges (g))
49
49
i = _src_index (e, g)
50
50
j = _dst_index (e, g)
@@ -62,7 +62,7 @@ function graphline{T<:Real}(g, locs_x, locs_y, nodesize::Vector{T})
62
62
end
63
63
64
64
function graphline {T<:Real} (g, locs_x, locs_y, nodesize:: T )
65
- lines = Array ( Vector{Tuple{Float64,Float64}}, _ne (g))
65
+ lines = Array { Vector{Tuple{Float64,Float64}}} ( _ne (g))
66
66
for (e_idx, e) in enumerate (_edges (g))
67
67
i = _src_index (e, g)
68
68
j = _dst_index (e, g)
@@ -80,8 +80,8 @@ function graphline{T<:Real}(g, locs_x, locs_y, nodesize::T)
80
80
end
81
81
82
82
function graphcurve {T<:Real} (g, locs_x, locs_y, nodesize:: Vector{T} , arrowlength, angleoffset, outangle= pi / 5 )
83
- lines = Array ( Vector, _ne (g))
84
- arrows = Array ( Vector{Tuple{Float64,Float64}}, _ne (g))
83
+ lines = Array { Vector} ( _ne (g))
84
+ arrows = Array { Vector{Tuple{Float64,Float64}}} ( _ne (g))
85
85
for (e_idx, e) in enumerate (_edges (g))
86
86
i = _src_index (e, g)
87
87
j = _dst_index (e, g)
@@ -106,8 +106,8 @@ function graphcurve{T<:Real}(g, locs_x, locs_y, nodesize::Vector{T}, arrowlength
106
106
end
107
107
108
108
function graphcurve {T<:Real} (g, locs_x, locs_y, nodesize:: T , arrowlength, angleoffset, outangle= pi / 5 )
109
- lines = Array ( Vector, _ne (g))
110
- arrows = Array ( Vector{Tuple{Float64,Float64}}, _ne (g))
109
+ lines = Array { Vector} ( _ne (g))
110
+ arrows = Array { Vector{Tuple{Float64,Float64}}} ( _ne (g))
111
111
for (e_idx, e) in enumerate (_edges (g))
112
112
i = _src_index (e, g)
113
113
j = _dst_index (e, g)
@@ -132,7 +132,7 @@ function graphcurve{T<:Real}(g, locs_x, locs_y, nodesize::T, arrowlength, angleo
132
132
end
133
133
134
134
function graphcurve {T<:Real} (g, locs_x, locs_y, nodesize:: T , outangle)
135
- lines = Array ( Vector, _ne (g))
135
+ lines = Array { Vector} ( _ne (g))
136
136
for (e_idx, e) in enumerate (_edges (g))
137
137
i = _src_index (e, g)
138
138
j = _dst_index (e, g)
@@ -150,7 +150,7 @@ function graphcurve{T<:Real}(g, locs_x, locs_y, nodesize::T, outangle)
150
150
end
151
151
152
152
function graphcurve {T<:Real} (g, locs_x, locs_y, nodesize:: Vector{T} , outangle)
153
- lines = Array ( Vector, _ne (g))
153
+ lines = Array { Vector} ( _ne (g))
154
154
for (e_idx, e) in enumerate (_edges (g))
155
155
i = _src_index (e, g)
156
156
j = _dst_index (e, g)
0 commit comments