Skip to content

Instantly share code, notes, and snippets.

@ca0v
Created February 24, 2020 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ca0v/d019b29e044598d6b386ccdc81b6887f to your computer and use it in GitHub Desktop.
Save ca0v/d019b29e044598d6b386ccdc81b6887f to your computer and use it in GitHub Desktop.
classDiagram
class baseContract
class instance1
class instance2
class instance3
class API
baseContract <|.. base
base <|-- instance1
base <|-- instance2
base <|-- instance3
instance1 o-- API
instance2 o-- API
instance3 o-- API
baseContract: number id
class instance1 {
    +getSpeed()
}
instance2: +getElevation()
instance3: +getTemperature()
stateDiagram
[*] --> click
note right of click
user clicks mouse 
or touches screen
end note
click --> trigger:handler
trigger --> geocode1:start
trigger --> geocode2:start
trigger --> geocode3:start
geocode1 --> aggregator:wait
geocode2 --> aggregator:wait
geocode3 --> aggregator:wait
aggregator --> [*]:all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment