Skip to content

Instantly share code, notes, and snippets.

@yassu
Last active August 29, 2015 14:24
Show Gist options
  • Select an option

  • Save yassu/734f05cb32099241bfb9 to your computer and use it in GitHub Desktop.

Select an option

Save yassu/734f05cb32099241bfb9 to your computer and use it in GitHub Desktop.
@startuml
@enduml
@startuml
title Sequence Diagram
participant "<u>a:AppCtrl</u>" as app
participant "<u>:NetCtrl</u>" as net
-> app: a1: hCom()
note left: Sequence label
app -> net: send(x)
note right: Call
net -> net
note right: Callback
create "<u>:Socket</u>" as socket
note right: Temporary Object
net -> socket: connext()
net -> socket: send(x)
net -> socket: <<destroy>>
note right: Object destruction
destroy socket
net --> app
note right: Return
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment