pszufe/OpenStreetMapX.jl

Multiple Edge Colors

Closed this issue · 0 comments

An option to have multiple edge colors would be awesome. I would like to able to do something like this:

using Plots, GraphRecipes, Colors
g = [0 1 1;
     1 0 1;
     1 1 0]
graphplot(g,
          x=[0,-1/tan(π/3),1/tan(π/3)], y=[1,0,0],
          nodeshape=:circle, nodesize=1.1,
          axis_buffer=0.6,
          curves=false,
          edgecolor=[colorant"#389826",colorant"#CB3C33",colorant"#9558B2"],
          linewidth=10)

But at the moment you can only input single colors to edgecolor. Is there a workaround to do this?