<- Back
Comments (35)
- threecheeseDoes this need to be shipped with a renderer? A better question is, are the node layout instructions ultimately being translated into absolute positions?If so, you could target any number of render backends, keeping the same simple interface for your agent, avoiding the bazillion problems rendering engines face to work well across the ecosystem.
- HeavyStormMermaid works great for fixed layouts like sequence diagrams and Gantts. For flowcharts, where position is king, it's bad.I've tried using svg in my MD files but they get unwieldy quite fast. This is a great idea. My first reaction was - but what's if I need something more exact. But reflecting on it, I've realized that this relative positioning is probably enough.
- recroadSeems a little buggy, I added this line:edge parser -> renderer "test edge" from: left to: rightand it wasn't smart enough to make a curved arrow
- zikohhhttps://d2lang.com/ works well?
- aktenlageThat is damn interesting. When I made copilot write a script that creates a .dot diagram, I found it funny that it had the same problems with placement that I have when doing it manually.
- kinduffI love it, and I wish it was part of Mermaid. I've always struggled with the presentation and agents tend to hack or just straight use SVG lol
- einpoklumIf this were implemented in a language with fewer dependencies, it'd be great.
- v9vGreat! Reminds me of Pikchr a bit https://pikchr.org/home/doc/trunk/homepage.md
- patriciobcsI was looking for something like this. I wish it had different themes, the will prob be the best improvement.
- wrsMermaid is open source, no? Can we just add these placement constraints to Mermaid instead of making a whole new language?
- ciefaHuh, can you read my mind?! :DThis is super cool. I love diagrams, charts, etc. and use them a lot. Both privately and for work.Definitely going to make use of this, I didn't know how much I wanted something like this until right now hahaha.
- tetris11I like it. I have too many issues with Mermaid
- light_hue_1I wish this just implement tikz without latex. I've yet to see a better drawing library that is both simple and has the depth to build the most complicated things.
- monster_truckThis genuinely fucks. Thank youFighting with mermaid is so frustraiting, especially when it comes to normal vs github formatting. This is going to replace several ad-hoc half impls I have laying around
- lastscatteringThis is basically tikz's positioning library (right=of, below left=of) without having to touch LaTeX. With tikz it was never the nodes that hurt me, it was the edges. Once two edges want the same side of a box it gets ugly fast. Does the resolver do any routing, or is from:/to: all you get? And what happens with conflicting statements, does the first one win or do you get an error?