Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/billowdev/plantuml-example

Use PlantUML for create UML diagram : OOAD
https://github.com/billowdev/plantuml-example

Last synced: 3 days ago
JSON representation

Use PlantUML for create UML diagram : OOAD

Awesome Lists containing this project

README

        

# plantuml-example

##### userAuthorization.puml

![userAuthorization](https://raw.githubusercontent.com/billowdev/plantuml-example/main/out/usecase-diagram/userAuthorization/userAuthorization.png)

```java
@startuml
'https://plantuml.com/use-case-diagram

left to right direction

actor "System Administrator" as actorAdmin

rectangle "User Authorization" {
usecase (Validate Users) as usecaseValidateUsers
usecase (Check Password) as usecaseCheckPassword

actorAdmin -- usecaseValidateUsers

usecaseValidateUsers -> usecaseCheckPassword : <>

}
@enduml
```

##### creditCardValidationSystem.puml
![creditCardValidationSystem](https://raw.githubusercontent.com/billowdev/plantuml-example/main/out/usecase-diagram/creditCardValidationSystem/creditCardValidationSystem.png)

```java
@startuml
'https://plantuml.com/use-case-diagram

skinparam sequence {
'ArrowColor DeepSkyBlue
'ActorBorderColor DeepSkyBlue
'LifeLineBorderColor blue
'LifeLineBackgroundColor #A9DCDF

'ParticipantBorderColor DeepSkyBlue
'ParticipantBackgroundColor DodgerBlue
ParticipantFontName Thai
ParticipantFontSize 17
'ParticipantFontColor #A9DCDF

'ActorBackgroundColor blue
ActorFontColor black
ActorFontSize 17
ActorFontName Thai
}

' -------------------------
left to right direction

actor "Customer" as actorCustomer
actor "Retail Insitution" as actorRetailInstitution
actor "Sponsoring Financial Institution" as actorSponsoringFinancialInstitution

rectangle "Credit Card Validation System" {
usecase (Perform Card Transaction) as usecasePerformCardTransaction
usecase (Process Customer Bill) as usecaseProcessCustomerBill
usecase (Recocile Transactions) as usecaseRecocileTransactions
usecase (Manage Customer Account) as usecaseManageCustomerAccount

actorCustomer -- usecasePerformCardTransaction
actorCustomer -- usecaseProcessCustomerBill
actorCustomer -- usecaseManageCustomerAccount

usecaseProcessCustomerBill -- actorRetailInstitution
usecasePerformCardTransaction -- actorRetailInstitution
usecaseRecocileTransactions -- actorRetailInstitution

usecaseProcessCustomerBill -- actorSponsoringFinancialInstitution
usecaseManageCustomerAccount -- actorSponsoringFinancialInstitution
}
' ----------------------------
@enduml
```

##### recievedCall.puml
![recievedCall](https://raw.githubusercontent.com/billowdev/plantuml-example/main/out/usecase-diagram/recievedCall/recievedCall.png)

```java
@startuml
'https://plantuml.com/use-case-diagram

actor "ผู้รับโทรศัพท์" as actorCallReciever

rectangle "การรับโทรศัพท์" as revievedCall {
usecase (รับโทรศัพท์) as usecaseRecieve
usecase (รับสายเรียกซ้อน) as usecaseCallWaiting

actorCallReciever -- usecaseRecieve
usecaseRecieve <. usecaseCallWaiting : <>
}
@enduml
```

##### studentRegister.puml

![studentRegister](https://raw.githubusercontent.com/billowdev/plantuml-example/main/out/usecase-diagram/studentRegister/studentRegister.png)

```java
@startuml
left to right direction
actor "เจ้าหน้าที่" as actorRegisterationOfficer
actor "นักศึกษา" as actorStudent

rectangle "การลงทะเบียนเรียนของนักศึกษา" as rectangleRegisterationOfStudent {
usecase (ลงทะเบียนนักศึกษาใหม่) as usecaseRegisterOfNewStudent
usecase (ลงทะเบียนนักศึกษาปัจจุบัน) as usecaseRegisterOfPresentStudent
usecase (เก็บหลักฐาน) as usecaseKeepEvidence
usecase (ชำระเงินค่าเล่าเรียน) as usecasePayRegisterationFee
usecase (มีเงินไม่พอชำระค่าเล่าเรียน) as usecaseNotHaveEnoughMoneyForPayEducationFee
usecase (หลักฐานไม่พร้อม) as usecaseEvidenceNotReady
usecase (ได้รับการยกเว้นค่าเล่าเรียน) as usecaseExceptEducationFee

actorRegisterationOfficer -- usecaseRegisterOfNewStudent
actorRegisterationOfficer - usecaseRegisterOfPresentStudent
usecasePayRegisterationFee -- actorStudent

usecaseRegisterOfNewStudent -> usecasePayRegisterationFee : <>
usecaseRegisterOfNewStudent -> usecaseKeepEvidence : <>

usecaseRegisterOfPresentStudent --> usecasePayRegisterationFee : <>
usecaseRegisterOfPresentStudent --> usecaseKeepEvidence : <>

usecaseEvidenceNotReady ..> usecaseKeepEvidence : <>

usecaseExceptEducationFee <.. usecasePayRegisterationFee :<>
usecaseNotHaveEnoughMoneyForPayEducationFee <.. usecasePayRegisterationFee :<>

}
@enduml
```