Sunday, 5 May 2024

PlantUML: creole table

Using | separator, we can draw a table.

Example

|= id |= name |= age |
| 1 | Krishna | 34 |
| 2 | Ram | 43 |

 

table.txt

@startuml

skinparam NoteBorderThickness 1
skinparam NoteFontColor black
skinparam NoteFontName Papyrus
skinparam NoteFontSize 15
skinparam NoteFontStyle italic


scale 1.5

Client -> Server: Client send employees information
Server -> Client: Server process employees data and send response


note left of Client 
=Example of simple employees data
|= id |= name |= age |
| 1 | Krishna | 34 |
| 2 | Ram | 43 |
end note

@enduml

 

Above snippet generate below diagram.


 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment