added note tests
This commit is contained in:
14
tests/note/shape/test.typ
Normal file
14
tests/note/shape/test.typ
Normal file
@ -0,0 +1,14 @@
|
||||
#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")
|
||||
})
|
Reference in New Issue
Block a user