This may be helpful. https://github.com/mdaines/viz.js/
It should give you exactly the solution you cited. But I believe you need to figure out hooking it up to elm using ports. I have no experience with this particular project myself, but I do use graphviz and had heard of this one. On Friday, August 4, 2017 at 5:51:23 AM UTC-4, Michael Jones wrote: > > Hi, > > I am interested in exploring the automatic layout of > flow-chart-like-structures in Elm. I'm not sure of the exact terminology. I > think directed graphs covers it. > > Perhaps a solution like the one presented in this paper: > http://www.graphviz.org/Documentation/TSE93.pdf > > I would be happy to try to tackle it myself but I'm also curious if anyone > is already looking into it? I have done some searching and have found > various graph libraries but not tackle the idea of doing an automatic > layout. > > I am not so interested in force-layouts as they product more organic > results which do not match my use case. > > Related results: > - Fixed diagrams: https://github.com/vilterp/elm-diagrams > - Drawing tree structures: https://github.com/brenden/elm-tree-diagram > - Drawing arc diagrams: > https://github.com/justinmimbs/elm-arc-diagram/tree/1.0.0 > - Graph editor with dot export: https://github.com/jhrcek/elm-graph-editor > - Visualisation library which includes Force Layouts: > https://github.com/gampleman/elm-visualization > > Cheers, > Michael > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.