* Generate SVG instead of PNG, which is much faster and smaller. I
[?]
Mar 31, 2009, 3:59 PM
SUU3PSXUDJCFLJDYUFSEFHKTMZGWUQZXDWP73FRAF4BS36WTRIKACDependencies
- [2]
ALIOF64I* Use IO::Handles instead of old school filehandles. This ensures - [3]
OD5FSS5A* Quick hack to allow viewing of dependency graphs (via nix-store -q
Change contents
- replacement in src/lib/Hydra/View/NixDepGraph.pm at line 10
$c->response->content_type('image/png');$c->response->content_type('image/svg+xml'); - replacement in src/lib/Hydra/View/NixDepGraph.pm at line 16
open $fh, "nix-store --query --graph @storePaths | dot -Tpng -Gbgcolor=transparent |";open $fh, "nix-store --query --graph @storePaths | dot -Tsvg:cairo -Gdpi=100 -Gsize=20,20 -Gbgcolor=transparent |";