We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a0fba0 commit bed84d9Copy full SHA for bed84d9
src/plot.jl
@@ -85,7 +85,7 @@ Equal to 0 for undirected graphs. Default: `0.1` for the directed graphs
85
Optional. Angular width in radians for the arrows. Default: `π/9 (20 degrees)`
86
87
"""
88
-function gplot{T<:Real}(G,
+function gplot(G,
89
locs_x_in::Vector{T}, locs_y_in::Vector{T};
90
nodelabel = nothing,
91
nodelabelc = colorant"black",
@@ -110,7 +110,7 @@ function gplot{T<:Real}(G,
110
arrowlengthfrac = _is_directed(G) ? 0.1 : 0.0,
111
arrowangleoffset = π/9.0,
112
linetype = "straight",
113
- outangle = pi/5)
+ outangle = pi/5) where {T <: Real}
114
115
length(locs_x_in) != length(locs_y_in) && error("Vectors must be same length")
116
const N = _nv(G)
0 commit comments