I am using UMLGraph to generate sequence diagrams. I have a problem using the pic2plot program to generate svg images. It clips the image and parts of the image don't show. This problem is also documented in the FAQ:
How can I prevent clipped SVG images in sequence diagrams? This appears to be a limitation of pic2plot. You can work around it, by increasing the width and height values appearing in the SVG XML file that pic2plot generates.
However, I have tried but failed to change the width and height in the svg image. I tried modifying the width="8in" height="8in" viewBox="0 0 1 1" preserveAspectRatio="none"
in the svg with no success.
Please help.
I don´t know about how to solve this specific problem with UMLGraph but if you are open to use other similar textual modeling tools, take a look here with more than 10 tools available
Editing the first line of the generated SVG seems to help...
Keeping the first parameter in the viewBox fixed, I scaled the width and the delta between third parameter and first parameter in the viewBox by 1.5 from
to
No more clipping for me and looks okay. Your mileage may vary.