bramp / js-sequence-diagrams

Draws simple SVG sequence diagrams from textual representation of the diagram
https://bramp.github.io/js-sequence-diagrams/
BSD 2-Clause "Simplified" License
7.8k stars 1.08k forks source link

Prevent text from overlapping lines #202

Open MasonM opened 5 years ago

MasonM commented 5 years ago

This adds a white background to text strings so that they're easier to read when crossing a line.

Before: screenshot_20181024_203643

After: screenshot_20181024_203535

I didn't commit the dist/* file changes in order to make this easier to review. Let me know if I should and I'll push them up.

bramp commented 5 years ago

This is a very reasonable request, but I recall some reason why I didn't do this. Perhaps it interferes with CSS styling.

I will dig around to see if I recall, and get back to you.

O-J1 commented 5 years ago

@bramp Did you ever figure why:

but I recall some reason why I didn't do this. Perhaps it interferes with CSS styling.

Would be super handy 👍