ivanceras / svgbob

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

Crossing diagonals #25

Closed xguerin closed 3 years ago

xguerin commented 6 years ago

Hello !

Is there a way to display crossing diagonals ? Example:

------------.                
             \ .-------------
              \              
             / '------------>
------------'                

The diagonal crossing is incomplete. It would be nice to have access to X for that job:

------------.                
             \ .-------------
              X              
             / '------------>
------------'                

Thanks,

ivanceras commented 6 years ago

@xguerin do you have a screenshot of how it looks like right now? It would help to make a quick look

ivanceras commented 6 years ago

I can see it now, its ugly. I'll implement it when I have time. For now you can try to use something like these:

------------.   .-------------            
             \ /
              X              
             / \
------------'   '------------>        

-----------.
            \   .-------------            
             \ /
              X              
             / \
            /   '------------>  
-----------'
xguerin commented 6 years ago

Thanks ! Will do

ivanceras commented 6 years ago

This has been fixed on version 0.2.8 This example code will now render like this

xguerin commented 6 years ago

Awesome. Thanks !

ivanceras commented 3 years ago

This is broken on the new releases.