Re: [sage-support] Re: left right subtrees

2014-11-25 Thread Viviane Pons
Hi, do you specifically need to use a graph? Because there is a special object for binary trees. Anyway, here is the code for the labelled binary tree corresponding to what you want: sage: LBT = LabelledBinaryTree sage: a = LBT([], label='a') sage: b = LBT([], label='b') sage: c = LBT([], label=

[sage-support] Re: left right subtrees

2014-11-25 Thread Harald Schilly
On Tuesday, November 25, 2014 2:33:39 PM UTC+1, kcrisman wrote: > > > Hi! I don't think this is necessarily a notebook question, so I'm > forwarding this to sage-support where it is morel likely to get some > responses. Good luck! > I did the reverse, and invited Nathann to help Dominique. ;

[sage-support] Re: left right subtrees

2014-11-25 Thread kcrisman
Hi! I don't think this is necessarily a notebook question, so I'm forwarding this to sage-support where it is morel likely to get some responses. Good luck! > Hi, > > I would like to get a left and right subtree from a vertice. > First i used Graph abd option layout. The graph don't respe