I am trying to apply the script suggested in another post on this forum for matching vertex size to label: Match vertex size to label size in igraph. The solution for the plot function works perfectly but the same syntax cannot be used for the tkplot function. Replacing plot by tkplot returns an error message. I need to use the latter one because my figure has many vertexes and too long vertex labels, and i want to be able to readjust the positions of the vertexes manually. Can someone help?
Asked
Active
Viewed 354 times
1 Answers
0
This is not really an answer to your question, but a workaround. Use tkplot()
to plot your vertices, adjust the vertex positions, then query the positions with tkplot.getcoords()
, and use the returned coordinates in plot()
.

Gabor Csardi
- 10,705
- 1
- 36
- 53