Skip to content

Instantly share code, notes, and snippets.

@lemon24
Created January 19, 2026 14:22
Show Gist options
  • Select an option

  • Save lemon24/e0c47ca8de908659fe8137b95b13ef44 to your computer and use it in GitHub Desktop.

Select an option

Save lemon24/e0c47ca8de908659fe8137b95b13ef44 to your computer and use it in GitHub Desktop.
plantuml vs pikchr for a sequence diagram
/*
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: Another authentication Response
@enduml
*/
boxwid = 0; boxht = 0; movewid = .25; lineht = movewid/2
A: box "Alice"
move movewid * 8
B: box "Bob"
move to A.s
move down
arrow "Authentication Request" above right even with B
move down
arrow "Authentication Response" above dotted left even with A
move down
arrow "Another Authentication Request" above right even with B
move down
arrow "Another Authentication Response" above dotted left even with A
line dashed from A.s down even with last arrow down
box "Alice"
line dashed from B.s same
box "Bob"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment