Cool! Hey, the link to the boost reference in the documentation doesn't work, I think the correct link would be: http://www.boost.org/doc/libs/release/libs/graph/doc/straight_line_drawing.h... Ni! ale On Sun, Apr 24, 2016 at 9:48 PM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 20.04.2016 17:01, Tiago de Paula Peixoto wrote:
On 20.04.2016 14:20, Matyas, Csongor wrote:
I will also post my first question, this was the main reason why I registered for this mailing list. The description and examples were usually more than enough for me to use graph_tool, nice job ;) I have a question though. In the "|graph_tool.topology.||is_planar|(/g/, /embedding=True///)" how do I use the embedding information to print my graphs planar. Do I have to do that for myself, or there is a built in function that I didn't find? Do I have to add the edges following the order that they come using the embedding somehow?
Here is one way it can be used to draw the graph:
http://www.boost.org/doc/libs/1_60_0/libs/graph/doc/straight_line_drawing.ht...
However, this function is not yet implemented in graph-tool.
FYI, I have just added this functionality to graph-tool:
https://graph-tool.skewed.de/static/doc/dev/draw.html#graph_tool.draw.planar...
Best, Tiago
-- Tiago de Paula Peixoto <tiago@skewed.de>
_______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool