I'm not sure about your data, but if it can be exported as an indented 
list, then you can import it into Leo as a "Tabbed File".  This will turn 
every line in the indented file into a new node whose headline is the text 
on that line.  The nodes will be indented to match your exported data.

By "indented list", I mean a file that looks like this:

item 1
item 1a
item 1b
item 1b1
item 1b1a
item 1b2
item 1c
item 2

Also, I have written a set of Leo scripts that will take a node with such a 
list and turn it in to an SVG mind map to a maximum depth of two, if that 
would be of interest.
On Friday, September 24, 2021 at 9:15:47 AM UTC-4 Phil wrote:

> I would like to use Leo as a tool to inspect structured data from another 
> application. In my particular case, I have a large tree data structure 
> (perfect for Leo!), and it is possible to script the application to dump 
> the data to a file, formatted as I desire - an ASCII representation would 
> seem most sensible. I'd like to dump it into whatever format would be easy 
> to import into Leo. I certainly can roll my own on this, but I'm wondering 
> if there is a best approach for this, maybe even a "Leo standard" way.
>
> Thanks!
> Phil
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/1ffc101d-bc3a-4f12-993f-b85ad118d5a3n%40googlegroups.com.

Reply via email to