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.html
>
> 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_layout

Best,
Tiago

-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to