docs: microoptimize graph a bit
This commit is contained in:
parent
c33897220c
commit
f40608cf5e
2 changed files with 6 additions and 2 deletions
|
@ -219,8 +219,11 @@
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// i wonder if layouting could be automatized
|
||||||
|
// if the graph is guaranteed to be acyclic,
|
||||||
|
// then we could just lay them out in "columns"
|
||||||
#let graph-example = canvas({
|
#let graph-example = canvas({
|
||||||
let x = 3
|
let x = 2.25
|
||||||
let y = -3
|
let y = -3
|
||||||
node((-x, -0.75 * y), ty: "const", body: "\"base.png\"", name: "base")
|
node((-x, -0.75 * y), ty: "const", body: "\"base.png\"", name: "base")
|
||||||
node((x, -0.75 * y), ty: "const", body: "\"stencil.png\"", name: "stencil")
|
node((x, -0.75 * y), ty: "const", body: "\"stencil.png\"", name: "stencil")
|
||||||
|
|
|
@ -37,7 +37,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
just nushell typst
|
just nushell
|
||||||
|
typst typst-lsp
|
||||||
mold
|
mold
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue