Skip to content

Add options for workflow visualization#126

Open
frazane wants to merge 1 commit intomainfrom
feat/dag-rulegraph-viz
Open

Add options for workflow visualization#126
frazane wants to merge 1 commit intomainfrom
feat/dag-rulegraph-viz

Conversation

@frazane
Copy link
Copy Markdown
Contributor

@frazane frazane commented Apr 1, 2026

Add --dag and --rulegraph flags to all workflow subcommands, rendering the Snakemake graph as an SVG via kroki.io, which kindly provides this as a free service. With this, we no longer require graphviz to be installed on the host system.

  • --dag saves dag.svg
  • --rulegraph saves rulegraph.svg
  • DOT output is compressed, base64-encoded, and sent to kroki.io/graphviz/svg/

--dag

dag

--rulegraph

rulegraph

@frazane frazane requested review from Louis-Frey and dnerini April 1, 2026 13:33
@Louis-Frey
Copy link
Copy Markdown
Contributor

Hi Francesco, nice extension! Do you think it would be worth testing the configs on this one too? I can do it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants