It is very easy to set or change multiple options of a graphics objects with Show
:
Show[g, Frame -> True, Axes -> False, PlotRange -> All, ...]
One may often want to do this with Graph
s. It's been always bothering me that I can't see an easy way to do it. Now that I took the time to think about it and write up a question, one idea that came to mind is:
Fold[
SetProperty,
CompleteKaryTree[5],
{
EdgeStyle -> Directive[Thick, Orange],
VertexStyle -> White,
GraphLayout -> "SpringElectricalEmbedding"
}
]
It's still rather tedious compared to how easy it is to use Show
.
Is there a recommended official way to do this type of graph manipulation? Is there a better, easier way than above?