1. Type this following source code about CMS (Content Management System) in PlantUML Code:
@startuml
/' creately, freeprojectz '/
/' avoid problems with angled crows feet '/
skinparam linetype ortho
(*) --> "Login" as actLogin
actLogin --> "Check User Level And Permissions" as usrLvl
usrLvl --> if "Check Permission" as actChk1 then
--> [true] "Manage Content" as actMngContent
endif
usrLvl --> if "Check Permission" as actChk2 then
--> [true] "Manage Content Type" as actMngCntType
endif
usrLvl --> if "Check Permission" as actChk3 then
--> [true] "Manage Category" as actMngCat
end if
usrLvl --> if "Check Permission" as actChk4 then
--> [true] "Manage Comment" as actMngCmnt
end if
usrLvl --> if "CheckPermission" as actChk5 then
--> [true] "Manage Blogs" as actMngBlogs
end if
actMngContent --> "Logout from the system" as actLogout
actLogout --> (*)
actMngCntType -->actLogout
actLogout --> (*)
actMngCat -->actLogout
actLogout --> (*)
actMngCmnt -->actLogout
actLogout --> (*)
actMngBlogs -->actLogout
actLogout --> (*)
@enduml
2. Save file as cmsActDiaLegacy.plantuml.
3. Build or Compile the source code.
Output
diagram as code, textual modelling
Tidak ada komentar:
Posting Komentar