[HN Gopher] Online text to diagram tools (2020)
       ___________________________________________________________________
        
       Online text to diagram tools (2020)
        
       Author : smusamashah
       Score  : 96 points
       Date   : 2021-04-12 11:47 UTC (11 hours ago)
        
 (HTM) web link (xosh.org)
 (TXT) w3m dump (xosh.org)
        
       | prepend wrote:
       | Thanks. I like these tools as an easy way to autogenerate and
       | version diagrams. I've been using mermaid quite a bit as it's JS
       | and plugs into Jekyll and static site generators pretty easily.
        
       | marsven_422 wrote:
       | PlantUML is becoming the standard
        
       | chrisweekly wrote:
       | I didn't look too closely, but glad to see kroki is at least
       | mentioned. Kroki isn't just an "online" tool, it's self-hostable,
       | and effectively wraps most of the other formats / tools,
       | providing a centralized interface to ~all the things.
       | Recommended.
        
       | [deleted]
        
       | TiredGuy wrote:
       | Here's one that I made: https://gitlab.com/andrewfulrich/dagre-
       | svg#readme and here's a live editor:
       | https://andrewfulrich.gitlab.io/dagre-svg/editor.html
       | 
       | I tried to make the syntax simple for the basic use cases but
       | also add enough flexibility in the functionality to encapsulate
       | what I often want with clusters and styling.
        
       | MayeulC wrote:
       | Nice list! I wish the licenses were also indicated (in short,
       | whether it can run online).
       | 
       | My main use-case is generating diagrams for websites (static
       | pages, documentation) and documents (latex, pandoc, beamer
       | presentations), so I prefer having those ready to be compiled
       | from a makefile.
        
       | axiom92 wrote:
       | On a related note, I did some work on generating temporal graphs
       | from text: https://arxiv.org/pdf/2010.10077.pdf
       | 
       | Code/models: https://github.com/madaan/temporal-graph-gen
        
       | fudged71 wrote:
       | Uh isn't "swimlanes" actually sequence diagrams?
       | 
       | I was looking for an actual swimlane diagram tool...
        
       | dang wrote:
       | Discussed at the time:
       | 
       |  _Online Text to Diagram Tools_ -
       | https://news.ycombinator.com/item?id=23483922 - June 2020 (30
       | comments)
        
       | amboo7 wrote:
       | https://www.mcternan.me.uk/mscgen/
        
       | smusamashah wrote:
       | There are only a bunch of these tools. I compiled this list to
       | make them easy to discover.
        
         | chubot wrote:
         | Cool! I think it would be useful to have a screenshot next to
         | each tool
        
         | AgoRapide wrote:
         | Maybe add a small paragraph explaining each of them, and some
         | information about the priority of order?
        
           | benrbray wrote:
           | I too am puzzled that a post about diagrams has not a diagram
           | in sight ! I'd like to see a two-column comparison with the
           | text + rendered image side-by-side for each.
        
       | arminiusreturns wrote:
       | A topic close to my heart! One thing though, lots of these tools
       | are "offline", but some are found here as a repackaged service
       | online. Personally, if I'm diagramming some important things, I
       | don't want to trust yet another third party, and largely prefer
       | "offline" tools, and I suspect there are others that have the
       | same view. For testing the tools this is great though.
       | 
       | Blockdiag [3] is the one I tend to use the most, with both
       | Mermaid [2] and the unoriginally named "diagrams" [1] being the
       | two others I find the most interesting.
       | 
       | 1. https://pypi.org/project/diagrams/
       | 
       | 2. https://mermaid-js.github.io/mermaid/
       | 
       | 3. http://blockdiag.com/en/
        
         | ytjohn wrote:
         | I have enjoyed using PlanUML, but getting a local renderer for
         | team use is a big lift. I switched to Mermaid-JS last year.
         | Using mermaid, we can do a number of diagrams in Markdown code
         | blocks. VSCode has a markdown preview enhanced that can render
         | these, and Gitlab will render mermaid. Also, you can get a
         | mermaid plugin for Confluence.
         | 
         | It may not be the "best", but it's exceedingly versatile and
         | has a low barrier to entry, which is a huge win for us.
        
       ___________________________________________________________________
       (page generated 2021-04-12 23:00 UTC)