Is there a way to control the size of self loops when rendering a Graph
?
Example:
Graph[{1 -> 2, 1 -> 1}, VertexSize -> {1 -> 0.1, 2 -> 0.2}, PerformanceGoal -> "Quality"]
How can I make the loop bigger or smaller?
I do not want to use a custom EdgeShapeFunction
. Bult-in EdgeShapeFunction
s are acceptable.
When using a user-defined edge shape function, the nice positioning of the arrowheads will be broken in the above graph. When using a built-in one, such as EdgeShapeFunction -> "CarvedArrow"
, everything is fine. Perhaps some of the builtin ones have an option to control the self loop size? Some do have options, but they are undocumented.
GraphPlot
has SelfLoopStyle
. Is there anything for Graph
?