I recreate the structure in leoqviewer, but this is c++ code. Dumb algorithm to create the tree is easy to do for python Leo as well, but if I write full file format support I'd like to do it the fast way - first create nodes, then put them to their place in the graph, in just 2 passes. On Dec 29, 2011 6:05 PM, "mdb" <[email protected]> wrote:
> Ville, > > I ran the code in > > > The code to dump outline to sql database (and create the database) is > here: > > http://bazaar.launchpad.net/~leo-editor-team/leo-editor/contrib/view/... > > after changing the db location in > > def test(c): > tf = TreeFrag("/home/ville/treefrag.db") > > of course > > Do you have code to recreate a tree from the db? > Or better .. to select and include in an outline a single node > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/leo-editor?hl=en. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
