pszufe / OpenStreetMapX.jl

OpenStreetMap (*.osm) support for Julia 1.0 and up
MIT License
118 stars 24 forks source link

Multiple Edge Colors #56

Closed jwassmer closed 2 years ago

jwassmer commented 2 years ago

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?