24 lines
766 B
Typst
24 lines
766 B
Typst
#import "@preview/fletcher:0.5.8" as fletcher: diagram, node, edge
|
|
#import fletcher.shapes: house, chevron, pill
|
|
#import "../definicije.typ": file-object, tree-object, commit-object
|
|
|
|
#diagram(node-stroke: 1pt, node-shape: pill,
|
|
{
|
|
let (Ah, Bh, Ch, Dh, Eh, Fh, Gh) = ("d93434", "2ca420", "dd0d98", "28782c", "710310", "3f2922","d2a671")
|
|
let (A, B, C, D, E, F, G) = ((0, 0), (1, 0), (2, 0), (3, 0), (4, 0), (2, 1), (3, 1))
|
|
node(A, raw(Ah))
|
|
node(B, raw(Bh))
|
|
node(C, raw(Ch))
|
|
node(D, raw(Dh))
|
|
node(E, raw(Eh))
|
|
node(F, raw(Fh))
|
|
node(G, raw(Gh))
|
|
edge(B, A, "->")
|
|
edge(C, B, "->")
|
|
edge(D, C, "->")
|
|
edge(E, D, "->")
|
|
edge(G, F, "->")
|
|
edge(F, B, "->")
|
|
edge(D, F, "->")
|
|
}
|
|
)
|