Environment Variable: Loading...
Expected: USE_ANTLR_PARSER=true
Status: Checking...
Simple sequence diagram to test basic ANTLR parser functionality:
sequenceDiagram
Alice->>Bob: Hello Bob, how are you?
Bob-->>Alice: Great!
Testing participant and actor declarations:
sequenceDiagram
participant A as Alice
participant B as Bob
actor C as Charlie
A->>B: Hello Bob
B->>C: Hi Charlie
C-->>A: Hello Alice
Testing various arrow types and message formats:
sequenceDiagram
Alice->>Bob: Solid arrow
Bob-->>Alice: Dotted arrow
Alice-xBob: Cross ending
Bob--xAlice: Dotted cross
Alice-)Bob: Open arrow
Bob--)Alice: Dotted open
Testing activation boxes and lifelines:
sequenceDiagram
Alice->>+John: Hello John, how are you?
Alice->>+John: John, can you hear me?
John-->>-Alice: Hi Alice, I can hear you!
John-->>-Alice: I feel great!
Testing notes over participants:
sequenceDiagram
participant Alice
participant Bob
Alice->>Bob: Hello Bob
Note over Alice,Bob: This is a note over both
Note right of Bob: This note is on right of Bob
Note left of Alice: This note is on left of Alice
Bob-->>Alice: Hi Alice
Testing control flow structures:
sequenceDiagram
Alice->>Bob: Hello Bob
loop Every minute
Bob-->>Alice: Great!
end
alt is sick
Bob->>Alice: Not so good :(
else is well
Bob->>Alice: Feeling fresh like a daisy
end