Test UML: Difference between revisions

From VoIPmonitor.org
(Test PlantUML diagram)
 
(Simple test)
Line 3: Line 3:
<kroki type="plantuml">
<kroki type="plantuml">
@startuml
@startuml
!define RECTANGLE class
Alice -> Bob: Hello
 
Bob --> Alice: Hi there
skinparam componentStyle rectangle
skinparam backgroundColor white
skinparam component {
    BackgroundColor<<gui>> #E3F2FD
    BackgroundColor<<db>> #FFF3E0
    BackgroundColor<<sensor>> #E8F5E9
}
 
package "VoIPmonitor System" {
    [Web GUI\n(PHP + C++)] <<gui>> as GUI
    [MySQL/MariaDB\nDatabase] <<db>> as DB
    [Sensor\n(Sniffer)] <<sensor>> as SENSOR
}
 
cloud "Network Traffic" as NET {
    [SIP/RTP\nPackets] as PACKETS
}
 
storage "PCAP Storage" as PCAP
 
PACKETS --> SENSOR : capture
SENSOR --> DB : CDR data
SENSOR --> PCAP : store packets
GUI --> DB : query
GUI --> PCAP : read recordings
 
@enduml
@enduml
</kroki>
</kroki>

Revision as of 19:25, 11 December 2025

Test PlantUML

Diagram-Code: