-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Context
Many thanks for this project, I love it (and I'm a big fan of import-linter too)!
I would like to automatically generate architecture diagrams in markdown (+ svg) once a day for some of my professional projects.
import-linter is great to enforce the architecture but impulse is IMHO great for discovering the architecture.
drawgraph is great as an interactive tool but here I would like to build / download SVG diagrams at a CI level (triggered once a day)
As you dropped the "image magick" dependency, I don't propose a savesvg subcommand but a savedot subcommand (I would deal with the DOT => SVG transformation externally).
CLI
The CLI could be something like that:
Options:
--show-import-totals Label arrows with the number of imports they
represent.
--show-cycle-breakers Identify a set of dependencies that, if removed,
would make the graph acyclic, and display them as
dashed lines.
--filepath Filepath to use for saving the dotfile (if not set, the standard output if used)
--help Show this message and exit.
=> Would you be interested in such an addition?
(If yes, I think I can propose a PR about it)