14 lines
491 B
Typst
14 lines
491 B
Typst
#set page(width: auto, height: auto)
|
|
#import "/src/lib.typ": *
|
|
|
|
#diagram({
|
|
_par("caller")
|
|
_par("server")
|
|
|
|
_seq("caller", "server", comment: [conReq])
|
|
_note("over", [idle], pos: "caller", shape: "hex")
|
|
_seq("server", "caller", comment: [conConf])
|
|
_note("over", ["r" as rectangle\ "h" as hexagon], pos: "server", shape: "rect")
|
|
_note("over", [this is\ on several\ lines], pos: "server", shape: "rect")
|
|
_note("over", [this is\ on several\ lines], pos: "caller", shape: "hex")
|
|
}) |