Svgbob: Convert your ASCII diagram scribbles into happy little SVG
github.com
github.com
Things I would like to have improved - indent markup when I download svg. If it's a small SVG it isn't a problem but when I looked at the example it was hard to read.
I would also like if the output SVG was rendered left to right top to bottom, right now it can difficult to find where something was actually drawn at. However as I said I would probably use it to draw little things that I would put together later, so when I say I would like it - well it probably doesn't apply to my usecase anyway.
on edit: when I say rendered left to right I mean written out left to right, just in case there was any confusion.
Title: // chart page title
Flow-chart Shorthand Rough Draft
Decision:
Too big a project?
@Yes #label02 // arrow to #label02
@No #label01
#label01
Process:
Make lemonade
$options: no-point, foo // no arrow-head, etc.
Process:
Sell lemonade
$linetext: This is text near line coming to this process
$hint: north-east // positioning hint
#label02
Terminator:
End
Perhaps the hints could have an optional strength parameter: "$hint: north-east 60%". If you invent an implementation, I'll give you lots of Ycombinator points. I once used a tool called "graphviz" to kind of do this.I need to make a diagram for someone else, but the process of laying it out is annoying.
I wouldn't want to do a ton of edits in LibreOffice because the generated SVG isn't the cleanest. I think it should do the job if your focus is on defining nodes and edges of a graph and don't want a specific layout at the end.
Either way, the core insight that it's OK to map the the monospace grid 1:1 to diagram coordinates was IMHO a breakthrough in text->diagram conversion that previous tools like ditaa missed by trying too hard to parse "semantic structure". (After that it's 99% perspiration of course.)
The editor is pretty great.
[1] https://casual-effects.com/markdeep/features.md.html#basicfo...
SVG is great as an interchange for image editing, but I'm not sure that's necessarily what is best suited to basic diagramming. I'm sort of thinking like a diagram equivalent of Markdown.
It's 2019, and we're still dealing with side effects of ascii art, a throwback from the 1970s.
Would make page like this look so much better: http://root.rupy.se