软件设计时序图制作工具
在软件设计过程中,经常会使用到时序图来表达模块之间的交互、信息传递的动态行为或者其他软件逻辑。时序图可以清晰第表达软件层面的设计,甚至毫不夸张说是“一图顶千言”。
那么,抛出个直截了当的问题:画时序图的工具有哪些?哪个最好用?
以下以EA(Enterprise Architect)、DrawIO、PlantUML和Markdown里的mermaid来对比讲解。
首先看看他们的效果对比:
效果对比
以下是EA(Enterprise Architect)、DrawIO、PlantUML和Markdown里的mermaid的时序图最终效果对比。
这几个图都是表示创建一个账户(Create Account)的实例。
This Sequence Diagram shows the Objects involved in the creation of a new account. The Account Object is displayed lower down in the diagram because it doesn’t exist at the beginning of the sequence but is created as a result of the message.
-
EA
-
DrawIO
-
PlantUML
-
mermaid