You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I change color attribute in graphplot from :black to any other I don't see any changes of edge color in my drawing -- it is still black. Any ideas why I am so unlucky?
My code is the modified example:
using Plots, GraphRecipes, Colors
g = [011;
101;
110]
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,
color=:green,
nodecolor=[colorant"#389826",colorant"#CB3C33",colorant"#9558B2"],
linewidth=10)
The text was updated successfully, but these errors were encountered:
Hi @goryntsev sorry for the long delay on the response.
Basically, the problem is that when you say color=:green, graphplot does not know whether you are talking about the node color, the edge color or the node stroke color (the color of the little line around the nodes).
If you use edgecolor=:green, then you should get the behavior that you are looking for.
If I change color attribute in
graphplot
from :black to any other I don't see any changes of edge color in my drawing -- it is still black. Any ideas why I am so unlucky?My code is the modified example:
The text was updated successfully, but these errors were encountered: