rails-mvc-with-service.puml
PlantUML source of a sequence diagram from the Apartment renting platform project.
@startuml
autoactivate on
actor User
participant Controller
participant ServiceA
participant ServiceB
participant Model
participant View
User -> Controller: request
Controller -> ServiceA: call
autoactivate off
ServiceA -> ServiceA: some logic
return
autoactivate on
Controller -> ServiceB: call
autoactivate off
ServiceB -> ServiceB: some logic
autoactivate on
ServiceB -> Model: interact
return ...
return ...
Controller -> View: render
return HTML
return HTML
@endumlDownload rails-mvc-with-service.puml
PlantUML draws diagrams from plain text.
Paste the source into the online server,
or render it locally with plantuml -tsvg rails-mvc-with-service.puml.