ivanceras / svgbob

Convert your ascii diagram scribbles into happy little SVG
http://ivanceras.github.io/svgbob-editor/
Apache License 2.0
3.83k stars 108 forks source link

Request: brace labels #72

Open clarfonthey opened 3 years ago

clarfonthey commented 3 years ago

Basically a weird case of something I haven't been able to look right. What I'm imagining is something like this, where the brace is used to group things together: https://upload.wikimedia.org/wikipedia/commons/e/e6/Curly_Bracket_Notation.png

From what it seems, svgbob doesn't do too well with inferring shapes that don't go beyond a single line. I've tried the below and haven't really managed to get any to look right in svgbob:

 group of things
'-------.-------'

 group of things
\-------v-------/

 group of things
╰-------🮦-------╯

I honestly don't expect you to implement the right characters to display stuff like this, mostly figured it would be moderately helpful to list this here in case there are particular edge cases for diagrams you want to cover, or if you have ideas of how to do stuff like this.