This is a nice graph:
g = CycleGraph[4];
Graph[g, VertexCoordinates -> {{0, 0}, {0, 1}, {1, 1}, {1, 0}},
VertexLabels -> Placed["Name", Center], VertexSize -> Medium,
EdgeShapeFunction ->
GraphElementData[{"CurvedArc", "Curvature" -> 0.5}]]
But I want that the edges separated by an offset from the vertices. Is there a simple way to control this within GraphElementData
, similarly to how I could control the curvature? I want also an arrow but if I add "CarvedArrow"
, "ArrowSize" -> .1
to "CurvedArc"
, "Curvature" -> 0.5
MA does'nt display anything.
g
? $\endgroup${}
button on the toolbar. I'm going to edit the post for you now, but please do this every time in the future when you post. I see several downvotes, no doubt the lack of formatting contributed to that (as well as the lack of a concreteg
, which I'm going to also edit into the post now). $\endgroup$CycleGraph
was exactly what you meant then. $\endgroup$