#set page(width: auto, height: auto)
#import "/src/lib.typ": *

#diagram({
  _par("a", display-name: "Alice")
  _par("b", display-name: "Bob")

  _note("left", [This is displayed\ left of Alice.], pos: "a", color: rgb("#00FFFF"))
  _note("right", [This is displayed right of Alice.], pos: "a")
  _note("over", [This is displayed over Alice.], pos: "a")
  _note("over", [This is displayed\ over Bob and Alice.], pos: ("a", "b"), color: rgb("#FFAAAA"))
  _note("over", [This is yet another\ example of\ a long note.], pos: ("a", "b"))
})