Project

General

Profile

Plantuml » History » Revision 21

Revision 20 (Vyacheslav Mukhortov, 2024-11-18 22:07) → Revision 21/23 (Vyacheslav Mukhortov, 2025-07-17 16:40)

h1. Plantuml Test Page 

 

 h2. Use-case model 

 {{plantuml(png) 
 skinparam actorStyle Hollow 
 actor Visitor as v 
 usecase "Login" as uc1 
 usecase "Forgot password" as uc2 
 v -right--> uc1 
 uc2 .up.> uc1 : <<extends>> 
 }} 

 {{plantuml(png) 

   
   Bob -> Alice : hello 
 }} 

 

 h2. Analysis model 

 {{plantuml(png) 
   control Controller as c 
   entity Document as d 
   boundary DocumentView as dv 
   dv -right..> c  
   c -right..> d 
 }} 

 h2. Design model 

 {{plantuml(png) 
   Class01 <|-- Class02 
   Class03 *--> Class04 
   Class05 o--> Class06 
   Class07 ..> Class08 
   Class08 -right-> Class09 
 }} 

 {{plantuml(png) 
 abstract class AbstractList 
 abstract AbstractCollection 
 interface List 
 interface Collection 

 List <|-- AbstractList 
 Collection <|-- AbstractCollection 

 Collection <|- List 
 AbstractCollection <|- AbstractList 
 AbstractList <|-- ArrayList 

 class ArrayList { 
   Object[] elementData 
   size() 
 } 

 enum TimeUnit { 
   DAYS 
   HOURS 
   MINUTES 
 } 

 annotation SuppressWarnings 

 annotation Annotation { 
   annotation with members 
   String foo() 
   String bar() 
 } 
 }} 

 h2. Component diagram 

 {{plantuml(png) 

 package "Server" { 
     interface "REST" 
     interface "IDataRepository" 

     [DataService]       -up-       REST 
     [Server Database] -up-       IDataRepository 
     [DataService]       .right.> IDataRepository  
 } 
 
 package "Client" { 
     interface ISyncManager 
     interface IDataStore 
     interface IAPIClient 
    
     [HTTP Client]         -left- IAPIClient  
     [Client Data Base]    -up- IDataStore 
     [Data Sync Service] -up- ISyncManager 
   
     [Client App]          -right-> IDataStore 
     [Client App]          -left->    ISyncManager 
     [Data Sync Service] -down->    IAPIClient  

     [HTTP Client] ..> REST : <<HTTP>> 
 } 

 Server <.right.. Client 
 }} 


 h2. PlantUML specification 

 "PlantUML":https://plantuml.com/en/  

 h2. Version 

 {{plantuml(png) 
 version 
 }}