Post
Here’s what I went with. You create grids with a width and height, under the hood it uses the parent container size (either a parent grid or a parent <svg> size) and divides it into chunks. Then everything takes an x and y to position within this constrained grid. If unspecified, center.
0 reposts0 likes
D2 might be interesting here as an alternative to mermaid: d2lang.com Not as common as mermaid, but it has ASCII output at least!
d2lang.comHome | D2 DocumentationD2 is a modern DSL that turns text to diagrams.