Test Flows: Różnice pomiędzy wersjami
Z An IT Expert PKBase
*>Kprzybylowicz Nie podano opisu zmian |
m 1 wersja |
(Brak różnic)
| |
Aktualna wersja na dzień 14:09, 19 maj 2026

Mermaid Sequence diagram
Diagram-Code:sequenceDiagram
participant Alice
participant Bob
Alice->John: Hello John, how are you?
loop Healthcheck
John->John: Fight against hypochondria
end
Note right of John: Rational thoughts prevail...
John-->Alice: Great!
John->Bob: How about you?
Bob-->John: Jolly good!Mermaid Class diagrams
Diagram-Code:classDiagram
note "From Duck till Zebra"
Animal <|-- Duck
note for Duck "can fly\ncan swim\ncan dive\ncan help in debugging"
Animal <|-- Fish
Animal <|-- Zebra
Animal : +int age
Animal : +String gender
Animal: +isMammal()
Animal: +mate()
class Duck{
+String beakColor
+swim()
+quack()
}
class Fish{
-int sizeInFeet
-canEat()
}
class Zebra{
+bool is_wild
+run()
}Mermaid Classes and Annotations
Diagram-Code:classDiagram
class BankAccount BankAccount : +String owner BankAccount : +Bigdecimal balance BankAccount : +deposit(amount) BankAccount : +withdrawal(amount)class Shape{
<> noOfVertices draw() } class Color{
<> RED BLUE GREEN WHITE BLACK }
Mermaid, setting the direction of the diagram
Diagram-Code:classDiagram
direction RL class Student { -idCard : IdCard } class IdCard{ -id : int -name : string } class Bike{ -id : int -name : string } Student "1" --o "1" IdCard : carries Student "1" --o "1" Bike : rides
BPMN diagram
Actdiag Diagram
Rackdiag Diagram