On 28.11.2016 14:24, P-M wrote:
> This is a somewhat general question but perhaps somebody can point me in a
> useful direction: I am trying to draw a small network of molecules. Ideally
> I would like to use the molecular structures (which I can save as image
> file) in the network representation as opposed to the normal little red
> circles. Is it possible to specify a separate file for each vertex that gets
> used as position marker? I have found "surface" as a vertex property in
> "graph_draw" but am not sure if that is what I am after.

Take a look at the animation demo, which explains how to do that:


https://graph-tool.skewed.de/static/doc/demos/animation/animation.html#sirs-epidemics

In particular, you want to take a look at:

    https://graph-tool.skewed.de/static/doc/_downloads/animation_zombies.py


-- 
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