Thanks for the clarifications Vitaliy!
I was hopeful for a custom graph style because it would allow things like this:
Graph[{1 <-> 2}, GraphStyle -> "DiagramGreen",
VertexStyle -> {1 -> Yellow}]
This does not work because it duplicates the VertexStyle
option:
style = {VertexStyle -> Green, VertexSize -> Medium};
Graph[{1 <-> 2}, style, VertexStyle -> {1 -> Yellow}]
However, there are numerous workarounds:
During construction:
Graph[{Style[1, Yellow], 2}, {1 <-> 2}, style]
In[4]:= PropertyValue[%, VertexStyle]
Out[4]= {RGBColor[0, 1, 0], 1 -> {RGBColor[1, 1, 0]}}
Or after construction:
HighlightGraph[Graph[{1 <-> 2}, style], {Style[1, Yellow]}]