Skip to content

Instantly share code, notes, and snippets.

@smileham
Last active June 6, 2020 09:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save smileham/26f8baa46c638093aa2b3a049546da6f to your computer and use it in GitHub Desktop.
Save smileham/26f8baa46c638093aa2b3a049546da6f to your computer and use it in GitHub Desktop.
@startuml Archi Usage
!include archi-seq.puml
title Archi Print Usage
' Define Elements
$businessActor("Architect","architect")
$applicationComponent("Archi","archi")
$applicationFunction("Update\nModel","update")
$applicationFunction("Print\nView","print")
$systemSoftware("Windows\nPrint\nService","windowsPrint")
$equipment("Printer", "printer")
' Define Sequence
architect->archi ++
archi->update ++ : Make changes
$document("Not exactly correct!\nBut you get the idea.","right","update")
return Updated Model
archi ->print ++ : Click print
print -\windowsPrint ++
print --> archi --: Sent to printer
windowsPrint -> printer ++
return Complete
archi --> architect --
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment