zoukankan      html  css  js  c++  java
  • 在线时序图

          今天想画时序图,之前流程图一般我使用OmniGraffle,也是非常强大;but 对款软件如何画时序图还是不怎么熟悉; 因此在网上找了在线时序图;结果人意外的找到了在线时序图软件websequencediagrams

    自己小试了一把:

    title Pay   
    
    AppClient->+AppService: create Order
    AppService-> +PayService: orderID、productID、等
    PayService-> -AppService: payId
    AppService-> -AppClient :payId
    AppClient -> +PayClient: payId
    
    
    PayClient->AccountSDK:password
    opt password
       PayClient -> +AccountSDK:productId、prodyctNo
       AccountSDK -> -PayClient:password
    end
    
    PayClient->RiskSDK:risk
    opt risk
    PayClient->+RiskSDK:riskData
    RiskSDK-> -PayClient: result
    end
    PayClient->PayClient: MSM
    PayClient ->+PayService:payId
    PayService -> -PayClient:payResult
    
    PayClient-> -AppClient:SDKPayResult

    运行结果如下:

    非常完美,这里就当记录下

  • 相关阅读:
    抽象工厂模式
    工厂方法模式
    单例模式
    适配器模式
    外观模式
    简单工厂模式
    设计模式开篇闲谈
    android ui更新
    android获取Context
    android 事件绑定
  • 原文地址:https://www.cnblogs.com/kingbo/p/7345028.html
Copyright © 2011-2022 走看看