aivarsk / scruffy

Makes SVG shapes look hand-drawn and creates UML diagrams using yUML (http://yuml.me) syntax
318 stars 60 forks source link

Fix spilling messages in sequence diagrams. #15

Closed slavc closed 9 years ago

slavc commented 9 years ago

Long messages in sequence diagrams do not fit between boxes.

Fix this by putting space between boxes equal to the width of the longest message between those boxes.

slavc commented 9 years ago
suml --scruffy --sequence --png '[Driver]set key pressed>[Keypress buffer],[Keypress buffer]wake up>[HID layer],[Driver]unset key pressed>[Keypress buffer],[HID layer]retrieve>[Keypress buffer],[HID layer]send key press data>[Host]' > test.png

Before: before

After: after

aivarsk commented 9 years ago

Respect!