2016-03-04 52 views

回答

0

您可以使用Microsoft Visual Studio,当您编写类时,我们可以右键单击类和“查看类图”。 Visual Studio将为您完成所有工作。我不确定其他集成开发环境,因为我处于.NET世界。

0

使用PlantUML,你可以写一个纯文本描述,它会给你一个UML图。它不是一种编程语言(没有条件/循环结构),更像SQL这样的声明式语言。它建立在GraphViz工具之上,该工具使用“DOT”语言来指定通用图。

你写的东西,如:

@startuml 
Alice -> Bob: Authentication Request 
Bob --> Alice: Authentication Response 

Alice -> Bob: Another authentication Request 
Alice <-- Bob: another authentication Response 
@enduml 

运行它通过处理器,并像图结束了:

enter image description here