Admin message

Please use the issue tracker only to report bugs (i.e. errors in the library that need to be fixed) or feature requests.

Please check if the current git version also has the same problem. An easy way to do this is to use google colab!

For questions about how to compile, install or use the library, please use instead the web forum at https://forum.skewed.de/c/graph-tool.


(If unsure, use the forum first.)


IMPORTANT: When opening new issues, please fill out the required information listed in the issue template!

Multiline text

I'd like to be able to add multi-line text to vertices and edges when drawing a graph. Naively adding \n to the text doesn't render correctly (renders a box in place of the newline).

I've found that this feature was already requested on the mailing list in 2013, but couldn't find any followup. Apparently the text is currently rendered using cairos show_text function in src/graph/draw/graph_cairo_draw.cc. Apparently that function is not intended for serious use by applications. It is apparently recommended to use pango instead.

Assignee Loading
Time tracking Loading