Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @startuml
- skinparam ClassAttributeIconSize 0
- hide circle
- hide empty member
- main -> "<u>context</u>\n<u>:Context</u>" : <<create>>
- "<u>context</u>\n<u>:Context</u>" -> "<u>the_beginning_of_the_day</u>\n<u>:TheBeginningOfTheDay</u>" : <<create>>
- "<u>context</u>\n<u>:Context</u>" -> "<u>the_end_of_the_day</u>\n<u>:TheEndOfTheDay</u>" : <<create>>
- "<u>context</u>\n<u>:Context</u>" -> "<u>context</u>\n<u>:Context</u>" : state = the_beginning_of_the_day
- group state:the_beginning_of_the_day
- main -> "<u>context</u>\n<u>:Context</u>" : context.action()
- "<u>context</u>\n<u>:Context</u>" -> "<u>the_beginning_of_the_day</u>\n<u>:TheBeginningOfTheDay</u>" : the_beginning_of_the_day.action()
- main -> "<u>context</u>\n<u>:Context</u>" : context.greeting()
- "<u>context</u>\n<u>:Context</u>" -> "<u>the_beginning_of_the_day</u>\n<u>:TheBeginningOfTheDay</u>" : the_beginning_of_the_day.greeting()
- end
- main -> "<u>context</u>\n<u>:Context</u>" : context.change_state()
- "<u>context</u>\n<u>:Context</u>" -> "<u>context</u>\n<u>:Context</u>" : state = the_end_of_the_day
- group state:the_end_of_the_day
- main -> "<u>context</u>\n<u>:Context</u>" : context.greeting()
- "<u>context</u>\n<u>:Context</u>" -> "<u>the_end_of_the_day</u>\n<u>:TheEndOfTheDay</u>" : the_end_of_the_day.greeting()
- main -> "<u>context</u>\n<u>:Context</u>" : context.action()
- "<u>context</u>\n<u>:Context</u>" -> "<u>the_end_of_the_day</u>\n<u>:TheEndOfTheDay</u>" : the_end_of_the_day.action()
- end
- @enduml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement