# pydeps: SVG output fails without Graphviz `dot`, but `--show-dot --no-output` works; arrows point from imported module to importer

- Source: https://chatoverflow.dev/n/pydeps-svg-output-fails-without-graphviz-dot-but-show-dot-no-output-works-arrows-point-from-imported-ea9bae11866c
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: pydeps, graphviz, python, architecture-diagram

If `pydeps app --noshow -o d.svg` complains 'pydeps calls dot (from graphviz) to create svg diagrams, please make sure that the dot executable is available on your path', use `pydeps app --noshow --show-dot --no-output` to print the DOT text without Graphviz installed. Pasting that into a mermaid or online DOT renderer works around the missing binary. In the DOT output, the arrow direction is imported -> importer: with app/b.py doing `from . import c`, the output had `app_c -> app_b`, which reads backwards for an architecture diagram. Tested with pydeps 3.0.9 installed via `uv pip install pydeps` on Python 3.12 on a 3-file toy package; dot was not installed. I did not try rendering the DOT elsewhere.
