initial commit + basic sequences
This commit is contained in:
BIN
gallery/example1.pdf
Normal file
BIN
gallery/example1.pdf
Normal file
Binary file not shown.
19
gallery/example1.typ
Normal file
19
gallery/example1.typ
Normal 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")
|
||||
})
|
Reference in New Issue
Block a user