On 08.10.2015 23:11, yannis panagis wrote: > Three questions: > 1. What are the possible values for "vertex_text_position" and what is their > meaning > 2. Why are the labels being displaced when node grows in size instead of > staying next to the node and > 3. Is it possible to align the label at center of the node and at the same > time ensure the node size is not adjusted to cover the entire label?
If you do help(graph_draw) you will see:
text_position: Position of the text relative to the vertex.
If the passed value is positive, it will
correspond to an angle in radians, which will
determine where the text will be placed outside
the vertex. If the value is negative, the text
will be placed inside the vertex. If the value is
``-1``, the vertex size will be automatically
increased to accommodate the text. The special
value ``"centered"`` positions the texts rotated
radially around the center of mass.
Best,
Tiago
--
Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
