For the artistic,the graph layout could be more important sometimes.So I must to put a bad sentence to describe the clumsy GraphLayout
of Mathematica
but my poor vocabulary.My target is:
This is my code
g = Graph[{1, 7, 6, 2, 3, 4, 5}, {1 <-> 2, 1 <-> 3, 1 <-> 7, 7 <-> 6,
7 <-> 3, 6 <-> 4, 6 <-> 5, 2 <-> 3, 3 <-> 4, 4 <-> 5},
VertexSize -> Large,
GraphLayout -> {"MultipartiteEmbedding",
"VertexPartition" -> {3, 4}},
EdgeStyle -> Directive[Thick, Black],
VertexShape -> Graphics[{Thick, Circle[]}],
VertexLabels -> Placed["Name", Center]]
I know the VertexCoordinates
can achieve me.But write so much coordinates isn't a sensible option.
If I use a Rotate
like following,then the label is followed.
Rotate[g, 3 Pi/2]