initial commit + basic sequences

This commit is contained in:
2024-06-18 13:39:38 +02:00
parent 322c5bdbc9
commit 14cbda2ffb
6 changed files with 193 additions and 0 deletions

BIN
gallery/example1.pdf Normal file

Binary file not shown.

19
gallery/example1.typ Normal file
View File

@ -0,0 +1,19 @@
#import "/src/lib.typ" as chronos
#chronos.from-plantuml(```plantuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: Another authentication Response
```)
#chronos.diagram({
import "/src/diagram.typ": *
_seq("Alice", "Bob", comment: "Authentication Request")
_seq("Bob", "Alice", comment: "Authentication Response", style: "dashed")
_seq("Alice", "Bob", comment: "Another authentication Request")
_seq("Bob", "Alice", comment: "Another authentication Response", style: "dashed")
})