如何使用PlantUML

问题描述

这是我用来在 ipython 上使用 plantuml 绘制用例图的代码

! pip install plantuml

f= open("/content/usecasediagram.txt","w+")
f.write(f""":User: --> (Use)
"Main Admin" as Admin
"Use the application" as (Use)
Admin --> (Admin the application)""")

f.close()
!python -m plantuml usecasediagram.txt

我想根据自己的喜好将这些参与者和用例作为变量传递给代码并绘制此图。谁能帮我更改此代码

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)