Skip to content

Instantly share code, notes, and snippets.

@TimCoates
Last active January 5, 2016 09:14
Show Gist options
  • Save TimCoates/9dbd771e24bbab99704f to your computer and use it in GitHub Desktop.
Save TimCoates/9dbd771e24bbab99704f to your computer and use it in GitHub Desktop.
@startuml
actor Tim
actor Bob
database Logger
Tim -> Bob: Cash Request
alt successful case
Bob -> Tim: Cash Accepted
else some kind of failure
Bob -> Tim: Authentication Failure
group My own label
Tim -> Logger : Log attack start
loop 1000 times
Tim -> Bob: DNS Attack
end
Tim -> Logger : Log attack end
end
else Another type of failure
Bob -> Tim: Please repeat
end
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment