On 28.03.2016 23:19, Kimon wrote:
> Any news in that front? I tried various things but every time I get different
> result.
> Is the method deterministic? If not how can I initialize its seed?

It should be deterministic, but it is not. This is a bug and will be
fixed.

In the mean time you can make it deterministic by seeding the RNG before
calling graph_draw():

    numpy.random.seed(42)
    graph_tool.seed_rng(42)

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