We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6e2b7f commit 02800caCopy full SHA for 02800ca
src/lines.jl
@@ -2,8 +2,8 @@
2
Return lines and arrow heads
3
"""
4
function graphline{T<:Real}(g, locs_x, locs_y, nodesize::Vector{T}, arrowlength, angleoffset)
5
- lines = Array(Vector{Tuple{Float64,Float64}}, _ne(g))
6
- arrows = Array(Vector{Tuple{Float64,Float64}}, _ne(g))
+ lines = Array{Vector{Tuple{Float64,Float64}}}(_ne(g))
+ arrows = Array{Vector{Tuple{Float64,Float64}}}(_ne(g))
7
for (e_idx, e) in enumerate(_edges(g))
8
i = _src_index(e, g)
9
j = _dst_index(e, g)
0 commit comments