Remix.run Logo
behnamoh 5 days ago

Are there no-mouse alternatives? I hate drawing lines and boxes using mouse and I wish there was a way to write the "structure" and have it generate the ASCII art for that.

Aissen 5 days ago | parent | next [-]

It was on HN recently, the open source text-to-diagram tool d2 just launched an ascii output mode: https://d2lang.com/blog/ascii/

behnamoh 5 days ago | parent [-]

This is really close to what I wanted, thanks!

jvinet 5 days ago | parent | prev | next [-]

Mermaid is great for this, though the output will be an image, not ASCII.

https://mermaid.js.org

nonethewiser 5 days ago | parent | prev | next [-]

>I wish there was a way to write the "structure" and have it generate the ASCII art for that.

How would what it generates be any different than what you wrote?

inanutshellus 5 days ago | parent [-]

He doesn't want to click and drag with his mouse. Instead he wants an input box that lets him say "make a box [30] columns wide and [4] rows tall".

behnamoh 5 days ago | parent [-]

Yes, exactly! Either in natural language or some DSL.

PhilipRoman 5 days ago | parent | prev [-]

graph-easy? It doesn't give you a lot of control though