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

Auto wrapping #221

Open gmatesunny opened 4 years ago

gmatesunny commented 4 years ago

Hi,

Is there a way to way auto wrap the messages e.g. Andrew->China: SaysHelloddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd generates very wide diagram. It could have been nice if I could give some config here to auto wrap lets say at nearest space/delimeter after 10 characters $(".diagram").sequenceDiagram({theme: 'simple'});