Diagrame daj v svoje datoteke
This commit is contained in:
parent
0e6a68fb0a
commit
b6c83ca3e5
8 changed files with 140 additions and 111 deletions
16
diagrams/file-graph.typ
Normal file
16
diagrams/file-graph.typ
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#import "@preview/fletcher:0.5.8" as fletcher: diagram, node, edge
|
||||
#import fletcher.shapes: house, chevron, pill
|
||||
#import "../definicije.typ": file-object, tree-object, git-object, commit-object, bla, blabla
|
||||
|
||||
#diagram(
|
||||
{
|
||||
bla((-1, 1), name:<bla>)
|
||||
blabla((-1, 0), name: <blabla>)
|
||||
tree-object((1, 1), "ae247f", name: <mapa>)[drevo]
|
||||
tree-object((3, 0), "473e0b", name: <root>)[drevo]
|
||||
edge(<root>, <bla>, "->", label-angle: auto)[`bla.txt`]
|
||||
edge(<root>, <mapa>, "->", label-angle: auto, label-sep: -1.2em)[`mapa`]
|
||||
edge(<mapa>, <bla>, "->", label-angle: auto, label-sep: -1.2em)[`bla.txt`]
|
||||
edge(<root>, <blabla>, "->")[`blabla.txt`]
|
||||
}
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue