Kroki Test: Difference between revisions
(Created page with " == Kroki Extension Test == === Test 1: PlantUML Sequence Diagram === <kroki lang="plantuml"> @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: Another authentication Response @enduml </kroki> === Test 2: PlantUML Class Diagram === <kroki lang="plantuml"> @startuml class VoIPCall { +String callId +DateTime startTime +DateTime endTime...") |
(Test edit for incremental indexer testing) |
||
| Line 1: | Line 1: | ||
== Kroki Extension Test == | == Kroki Extension Test == | ||
=== Test 1: PlantUML Sequence Diagram === | |||
<kroki lang="plantuml"> | |||
@startuml | |||
Alice -> Bob: Authentication Request | |||
Bob --> Alice: Authentication Response | |||
Alice -> Bob: Another authentication Request | |||
Alice <-- Bob: Another authentication Response | |||
@enduml | |||
</kroki> | |||
=== Test 2: PlantUML Class Diagram === | |||
<kroki lang="plantuml"> | |||
@startuml | |||
class VoIPCall { | |||
+String callId | |||
+DateTime startTime | |||
+DateTime endTime | |||
+int duration | |||
+makeCall() | |||
+endCall() | |||
} | |||
class CDR { | |||
+String recordId | |||
+VoIPCall call | |||
+generateReport() | |||
} | |||
VoIPCall "1" -- "1" CDR | |||
@enduml | |||
</kroki> | |||
=== Test 3: Mermaid Flowchart === | |||
<kroki lang="mermaid"> | |||
graph TD | |||
A[Start VoIP Call] -->|Dial| B{Number Valid?} | |||
B -->|Yes| C[Connect Call] | |||
B -->|No| D[Error Message] | |||
C --> E[Call in Progress] | |||
E --> F[End Call] | |||
D --> F | |||
</kroki> | |||
=== Test 4: GraphViz Network Diagram === | |||
<kroki lang="graphviz"> | |||
digraph G { | |||
rankdir=LR; | |||
node [shape=box]; | |||
SIPPhone1 [label="SIP Phone 1"]; | |||
SIPPhone2 [label="SIP Phone 2"]; | |||
PBX [label="VoIPmonitor\nPBX"]; | |||
SIPPhone1 -> PBX [label="SIP"]; | |||
PBX -> SIPPhone2 [label="RTP"]; | |||
} | |||
</kroki> | |||
=== Test edit marker === | |||
This line was added for testing incremental wiki indexing. | |||
Revision as of 03:02, 9 January 2026
== Kroki Extension Test ==
=== Test 1: PlantUML Sequence Diagram ===
=== Test 2: PlantUML Class Diagram ===
=== Test 3: Mermaid Flowchart ===
=== Test 4: GraphViz Network Diagram ===
=== Test edit marker === This line was added for testing incremental wiki indexing.