我正在使用UMLGraph生成序列图。我在使用 pic2plot 程序生成 svg 图像时遇到问题。它会剪辑图像并且图像的某些部分不会显示。此问题也记录在 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.
但是,我尝试过更改 svg 图像的宽度和高度,但未能成功。我尝试修改 width="8in"height="8in"viewBox="0 0 1 1"preserveAspectRatio="none"
在 svg 中没有成功。
请帮忙。
最佳答案
我不知道如何使用 UMLGraph 解决这个特定问题,但如果您愿意使用其他类似的文本建模工具,请看看 here有超过 10 种可用工具
关于java - 使用 UMLGraph 生成序列图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5469729/