我在googled上搜索了所有这些,但是找不到将PLANTUML转换成python中的序列图的工具。
是否有任何库/工具可以使用python将plantuml转换为序列图?
我理解这个在线工具是这样做的:https://www.planttext.com/,但是我想要自动化这个过程,所以我不想使用这个在线工具
编辑:
@startuml
participant ClassA as Class_UmlA
participant ClassB as Class_UmlB
note right of Class_UmlA: Function to test
Class_UmlA -> Class_UmlB : Function1
activate Class_UmlA
@enduml谢谢,
哈里
发布于 2019-07-14 15:46:35
PlantUML是一个Java程序,所以您需要按预先要求安装Java,但另一方面,您不需要安装一个Java。
1)从plantuml.jar下载http://plantuml.com/de/download
2)从命令行java -jar path/to/downloaded/plantuml.jar path/to/your/plantUMLfile.txt运行
您的文件在执行目录中以plantUMLfile.png形式生成。
使用java -jar plantuml.jar -help作为参数的完整列表,以充分利用命令行工具。
https://stackoverflow.com/questions/56931660
复制相似问题