自动生成 顺序图(序列图) 软件

一款很强大的uml辅助工具Quick Sequence Diagram Editor,专门用于画顺序图(Sequence Diagram),关键是免费的.

优点有:

  • 能够通过写简易的脚本,即时生成Sequence Diagram.
  • 带有图片导出功能(png,gif,bmp,jpg,pdf等格式),而且能够调整图片的大小,图片也很清晰.
  • 能够画出异步的操作,并以不同的颜色标记不同线程的生命线.(you can create diagrams that model arbitarily(arbitrarily?) many sequences running in parallel, not just a single one. The sequences can (at your option) be distinguished by the colours of their corresponding lifelines.)

用法:

脚本的基本格式是<消息发送对象>:消息接收对象.消息名称.来个样例吧.下面是样例脚本及画出的顺序图:

client1:Actor
client2:Actor
webServer:Server[a]
/t1:Thread[a]
/t2:Thread[a]
localDisk:HDD

client1:webServer.GET /
webServer[,0]:>t1.new
t1[,1]:page=localDisk.read(“/var/www/index.html”)
client2:webServer.GET /doc/menu.html
webServer[,2]:>t2.new
t2[,3]:page=localDisk.read(“/var/www/doc/menu.html”)
t2:client2.send(page)
t1[,1]:client1.send(page)
t1:stop
t2[,3]:stop

demo

这个工具不支持从java代码生成顺序图,如果只需要画画顺序图是非常不错的.

From:http://appmem.com/archives/246

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值