I am aware of [1] and have somewhat used it with somewhat painful ergonomics, and I just learned about [2] today.<p>Can anyone direct me to an as-code tool that you input something like the following, and it spits out a graph diagram of nodes and edges? Mermaidjs, plantuml, graphviz always re-layout everything whenever the contents of the graph change, and I want to have manual or semi-manual control of the layout.<p>I'm trying to track generally geographic locations (dungeon rooms, location node graphs) or relationships (Marvin likes Doug but hates Mr. Spiff. Mr. Spiff is suspicious of Doug yet worries about Marvin. etc. )<p>A[Village square]<p>B[Farmers cabin] east of A<p>C[Haunted windmill] southwest of B<p>D[Wolf Pub] west of B<p>B<-"N/S game trail path"->D<p>[1] https://fossil-scm.org/pikchr/doc/trunk/homepage.md<p>[2] https://stackoverflow.com/a/26571628
Old MUDs come to mind, and seems like a modern take on their automappers would be something like Mudlet's <a href="https://wiki.mudlet.org/w/Manual:Mapper" rel="nofollow">https://wiki.mudlet.org/w/Manual:Mapper</a>, which has a verbose but human readable XML format?<p><a href="https://wiki.mudlet.org/w/Manual:Mapper" rel="nofollow">https://wiki.mudlet.org/w/Manual:Mapper</a>
<a href="https://forums.mudlet.org/viewtopic.php?t=22957" rel="nofollow">https://forums.mudlet.org/viewtopic.php?t=22957</a><p>Not quite as terse as your Mermaid-like syntax, unfortunately.<p>Also, in Mermaid, can't you specify left/right top/bottom, etc.? <a href="https://mermaid.js.org/syntax/flowchart.html#direction-in-subgraphs" rel="nofollow">https://mermaid.js.org/syntax/flowchart.html#direction-in-su...</a>