(share a post)Working With Discovery Trees

47 views
Skip to first unread message

HaveF HaveF

unread,
Dec 26, 2023, 11:17:20 AM12/26/23
to leo-editor
https://www.industriallogic.com/blog/discovery-trees/

The node structure is like Leo(or any mindmap tools), but display in graph and vertical way.


The nodes in the graph similar Leo's normal nodes or marked nodes.


Interesting

Thomas Passin

unread,
Dec 26, 2023, 12:40:55 PM12/26/23
to leo-editor
It's a nice way to display and balance out key information.  The organization is basically parents and children.  I didn't see any examples where a node had more than one parent.  That means the diagram could be stored in a standard Leo tree.  As usual, the hard part is creating a layout of the diagram.

The metadata - phase, ticket number, assignees, etc, could be stored in a node's UAs, or the way I've adopted, with tagged lines in the node's body.  But probably all that data will usually come from a database.

Edward K. Ream

unread,
Dec 27, 2023, 6:48:10 AM12/27/23
to leo-e...@googlegroups.com
On Tue, Dec 26, 2023 at 10:17 AM HaveF HaveF <iamap...@gmail.com> wrote:
https://www.industriallogic.com/blog/discovery-trees/

The node structure is like Leo(or any mindmap tools), but display in graph and vertical way.


Thanks for the link. It would be interesting to take a look at the mural website to see how they render trees.

Edward

Edward K. Ream

unread,
Dec 27, 2023, 10:44:20 AM12/27/23
to leo-e...@googlegroups.com
On Tue, Dec 26, 2023 at 11:40 AM Thomas Passin <tbp1...@gmail.com> wrote:
It's a nice way to display and balance out key information.  The organization is basically parents and children.  I didn't see any examples where a node had more than one parent.  That means the diagram could be stored in a standard Leo tree.  As usual, the hard part is creating a layout of the diagram.

The metadata - phase, ticket number, assignees, etc, could be stored in a node's UAs, or the way I've adopted, with tagged lines in the node's body.  But probably all that data will usually come from a database.

Thanks for these ideas. My first thought was to look in vs-code. Searching plugins using "tree" gives lots of results, but none seem directly applicable.

Looking around the demo page with F11 was another idea :-)

Edward

Thomas Passin

unread,
Dec 27, 2023, 11:21:08 AM12/27/23
to leo-editor
There are a number of text-to-diagram tools that can potentially produce diagrams like these.  Some of them are Graphviz, Plantuml, and d2.  I know there are others.  I have been able to use Graphviz to produce a line-of-descent diagram from a Leo outline of family history trees.

HaveF HaveF

unread,
Dec 27, 2023, 11:36:08 AM12/27/23
to leo-e...@googlegroups.com
There are a number of text-to-diagram tools that can potentially produce diagrams like these.  Some of them are Graphviz, Plantuml, and d2.  I know there are others.  I have been able to use Graphviz to produce a line-of-descent diagram from a Leo outline of family history trees.

I believe it is very easy to implement this in LeoJS. Tons of javascript lib, like React Flow.


Edward K. Ream

unread,
Dec 27, 2023, 12:08:46 PM12/27/23
to leo-e...@googlegroups.com
On Wed, Dec 27, 2023 at 10:36 AM HaveF HaveF <iamap...@gmail.com> wrote:
There are a number of text-to-diagram tools that can potentially produce diagrams like these.  Some of them are Graphviz, Plantuml, and d2.  I know there are others.  I have been able to use Graphviz to produce a line-of-descent diagram from a Leo outline of family history trees.

I believe it is very easy to implement this in LeoJS. Tons of javascript lib, like React Flow.

That is my opinion too, but I'm no expert.

Edward

Thomas Passin

unread,
Dec 27, 2023, 1:16:13 PM12/27/23
to leo-editor
Here are two examples of genealogy trees I created with Leo scripts.  The data is stored in a Leo outline that uses my Zettelkasten system.  For the family history I used a few extra conventions for the keys of data items.  One type of diagram is created  using Graphviz, for the other my script creates the svg itself.

These diagrams display with VR3.  For leoLS I imagine one would want to display diagrams in a new tab.

links.svg
leo_rst_html.html
Reply all
Reply to author
Forward
0 new messages