Skip to content

Commit 22cddeb

Browse files
committed
make default consistent with gplot notation (pi/9)
1 parent 67bd950 commit 22cddeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lines.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function graphcurve(g::AbstractGraph{T}, locs_x, locs_y, nodesize::Vector{<:Real
180180
end
181181

182182
# this function is copy from [IainNZ](https://github.com/IainNZ)'s [GraphLayout.jl](https://github.com/IainNZ/GraphLayout.jl)
183-
function arrowcoords(θ, endx, endy, arrowlength, angleoffset=20.0/180.0*π)
183+
function arrowcoords(θ, endx, endy, arrowlength, angleoffset=π/9)
184184
arr1x = endx - arrowlength*cos+angleoffset)
185185
arr1y = endy - arrowlength*sin+angleoffset)
186186
arr2x = endx - arrowlength*cos-angleoffset)

0 commit comments

Comments
 (0)