On 28.10.2015 15:35, Yannis Haralambous wrote: > dear all, > > I would like to use math symbols (such as ∈, ⊆ and ∡) and Greek letters into > labels (vertex properties and edge properties), so that they can appear in > graph-tool-made or graphviz-made graphs. > > How can I use graph-tool in a Unicode-compliant way?
It should work out of the box. You just need to use a font family that
has the necessary glyphs. For instance, for me the following works:
graph_draw(g, vertex_text="∈", vertex_font_family="Bitstream Vera Sans")
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
