Saturday 31 December 2022

Introduction to PlantUML

PlantUML is a java library, where it take the input in PlantUML language and generate the diagram.

 

For example, following markup defines the successful login flow sequence diagram.


@startuml
Client -> LoginServer: Enter user name
Client -> LoginServer: Enter password
Client -> LoginServer: Submit the form 
LoginServer -> ADServer: Check the credentials
ADServer -> LoginServer: Login Successful
LoginServer -> Client: Login Successful
@enduml

Above markup generate below sequence diagram.

 


PlantUML is a java library that allows you to quickly write:

a.   Sequence diagram

b.   Usecase diagram

c.    Class diagram

d.   Object diagram

e.   Activity diagram (here is the legacy syntax)

f.     Component diagram

g.   Deployment diagram

h.   State diagram

i.     Timing diagram

 

Is there any support for non-uml diagrams?

The following non-UML diagrams are also supported:

a.   JSON data

b.   YAML data

c.    Extended Backus-Naur Form (EBNF) diagram

d.   Network diagram (nwdiag)

e.   Wireframe graphical interface or UI mockups (salt)

f.     Archimate diagram

g.   Specification and Description Language (SDL)

h.   Ditaa diagram

i.     Gantt diagram

j.     MindMap diagram

k.    Work Breakdown Structure diagram (WBS)

l.     Mathematic with AsciiMath or JLaTeXMath notation

m. Entity Relationship diagram (IE/ER)

 

 

References

https://plantuml.com/

Previous                                                    Next                                                    Home

No comments:

Post a Comment