zoukankan      html  css  js  c++  java
  • 自动生成 顺序图(序列图) 软件

    一款很强大的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

  • 相关阅读:
    Tiling_easy version
    Children’s Queue
    hdu 彼岸
    最小公倍数和最大公约数问题
    hdu 神、上帝以及老天爷
    统计问题
    不容易系列之(3)—— LELE的RPG难题
    hdu 折线分割平面
    hdu Counting Triangles
    Queuing
  • 原文地址:https://www.cnblogs.com/me115/p/1973606.html
Copyright © 2011-2022 走看看