diff --git a/docs/design/util/graphics.typ b/docs/design/util/graphics.typ index f097b51..03617a1 100644 --- a/docs/design/util/graphics.typ +++ b/docs/design/util/graphics.typ @@ -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 x = 3 + let x = 2.25 let y = -3 node((-x, -0.75 * y), ty: "const", body: "\"base.png\"", name: "base") node((x, -0.75 * y), ty: "const", body: "\"stencil.png\"", name: "stencil") diff --git a/flake.nix b/flake.nix index ffbb283..d8e5186 100644 --- a/flake.nix +++ b/flake.nix @@ -37,7 +37,8 @@ }; packages = with pkgs; [ - just nushell typst + just nushell + typst typst-lsp mold ]; })