[graph-tool] Lattice Layout

Tiago de Paula Peixoto tiago at skewed.de
Sun Mar 23 11:25:22 CET 2014

On 03/23/2014 03:04 AM, Caspar Yim wrote:
> 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?

There are some other possible layouts with graphviz, via
graphviz_draw(), but I'm not sure if it will give you what you
want. Otherwise, you will have to code the layout yourself.


Tiago de Paula Peixoto <tiago at skewed.de>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <https://lists.skewed.de/pipermail/graph-tool/attachments/20140323/4ff43006/attachment.asc>

More information about the graph-tool mailing list