Hi all,
I have difficulties in controlling the VertexLabelling when plotting a Graph via GraphPlot. I would like to control the Printing of the vertexlabels, wirth some useage of VertexRenderingFunction. Eg. I have a Petersengraph with yellow disks as vertices:
GraphPlot[pete[[1]], VertexCoordinateRules -> pete[[2]],
VertexRenderingFunction -> ({EdgeForm[{Thick, Red}], FaceForm[Yellow], Disk[#1, 0.1], Text[#2, #1]} &),
EdgeRenderingFunction -> ({Blue, Line[#1]} &)]
"pete" is my Petersengraph ;-) I used the VertexRenderingFunction as shown in the documentation, but now I would like to control the font and the size of the font in the vertexlabeling. When I tried to do so I realized that I do not understand in full what the "Text[#2, #1]" in this statement does - I could not manage to work the Style command on that Text-Command. Can anyone give me a hint?
Greetings from rainy Germany
Mike