Created
May 9, 2018 09:29
-
-
Save ccamel/d90cadab11aec3c85b4f5bc93a94c418 to your computer and use it in GitHub Desktop.
PlantUML - Sequence Diagram samples (with a nice rendering)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
' styles | |
skinparam handwritten true | |
skinparam monochrome false | |
skinparam packageStyle rect | |
skinparam defaultFontName FG Virgil | |
skinparam shadowing false | |
hide footbox | |
' | |
title Hello World Sequence Diagram | |
actor "Actor" | |
participant "service-1" | |
== Happy path == | |
Actor -> "service-1": print("Hello world!") | |
activate "service-1" #DarkSalmon | |
Actor <-- "service-1" : ok | |
deactivate "service-1" | |
== Failure == | |
Actor -> "service-1": print("Hello world!") | |
activate "service-1" #DarkSalmon | |
Actor <-- "service-1" : ko | |
deactivate "service-1" | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See plantuml/uml.