And you can of course define the layout yourself using the get_pos/set_pos 
methods.

And you can "save" the embedding with g.show(save_pos=True).

And you can use those two nice functions to define a cool embedding 
yourself if you like:

sage: from sage.graphs.graph_plot import _circle_embedding
sage: from sage.graphs.graph_plot import _line_embedding

Nathann

On Monday, August 25, 2014 2:53:23 PM UTC+2, Volker Braun wrote:
>
> Feature... you can provide a seed for the spring layout if you want.
>
>
> On Monday, August 25, 2014 1:05:36 PM UTC+1, Jori Mantysalo wrote:
>>
>> Graph({'Pekka':['Matti', 'Leena', 'Timo'], 
>> 'Matti':['Mari']}).show(vertex_size=1500) 
>>
>> There is nothing wrong with output, but why it changes every time I run 
>> the command? Bug or feature? 
>>
>> -- 
>> Jori Mäntysalo 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to