[graph-tool] Lattice Layout

Caspar Yim dawnyesky at gmail.com
Sun Mar 23 03:04:46 CET 2014

Actually, what I mean is how to generate the topology of the graph like 
that picture but not the shape or label of the nodes. The position of top 
and bottom node is fixed and the others are placed layer by layer. I tried 
to use sfdp and fruchterman layout to draw, but none of them is satisfied. 
Is that mean I must write an algorithm to generate the layout by my own?

在 2014年3月19日星期三UTC+8下午5时51分41秒,Tiago Peixoto写道:
> On 03/17/2014 02:57 PM, Caspar Yim wrote: 
> > Hi, 
> > 
> > I'm doing some research on concept lattice. And I want to implement the 
> program with graph_tool. Can I use graph_tool API to draw a lattice-like 
> graph similar to the picture below? 
> > 
> > <
> https://lh5.googleusercontent.com/-rBOFzP4TlMc/Uyb_MfVxqKI/AAAAAAAABfU/36SHU4aUj8k/s1600/2014-03-17-215714_808x386_scrot.png> 
> > 
> Please take a look at the documentation for the graph_draw() 
> function. You are freely allowed to select node shapes and text 
> labels. Currently, however, the choice of node shapes is somewhat 
> limited. You can't, for instance, select a node shape which is 
> rectangular, i.e. with different height and width. 
> Best, 
> Tiago 
> -- 
> Tiago de Paula Peixoto <ti... at skewed.de <javascript:>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.skewed.de/pipermail/graph-tool/attachments/20140322/5e2669e3/attachment.htm>

More information about the graph-tool mailing list