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.81k stars 1.08k forks source link

Add ability to change font-size in basic themes #148

Closed Charius closed 7 years ago

Charius commented 8 years ago

It would be nice to configure font-size when call drawSVG method

bramp commented 8 years ago

This will happen in the 2.0 release. (No ETA on when that will be)

bramp commented 7 years ago

Ok this should be possible now that v2 is released.

diagram.drawSVG(container, {
  'theme': 'hand', 
  'font-size': 72,
});
Charius commented 7 years ago

whoa, thanks for your answer! Will check that soon!

Chetabahana commented 6 years ago

Finally. I set 'font-size': 12, it works as expected. Fit to my diagram. Thanks @bramp for this great project. Chetabahana|Project Diagram