Skip to content

feat(stack): write the solved dependency DAG as Graphviz DOT - #7

Merged
HaoZeke merged 1 commit into
mainfrom
solved-dependency-dot
Nov 1, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
solved-dependency-dot

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

stack solve --dot-out and the MCP field dot_out write the solved dependency DAG as Graphviz DOT.

A node is name/version, the toolchain, and the versionsuffix when the recipe has one. An edge is labelled with the requirement. A builddependency is dashed. A .svg or .png path is rendered with dot. Any other suffix is the DOT source.


Note

Low Risk
Additive reporting on top of an existing solve path; optional Graphviz rendering only fails when dot is missing for svg/png output.

Reviewed by Cursor Bugbot for commit 4e31ef6. Bugbot is set up for automated code reviews on this repo. Configure here.

stack solve --dot-out and the MCP field dot_out write the solved
dependency graph. A node is name/version plus the toolchain and the
versionsuffix. An edge carries the requirement, and a builddependency
is dashed. A .svg or .png path is rendered with dot.
@HaoZeke
HaoZeke merged commit 877d1f2 into main Nov 1, 2026
19 checks passed
@HaoZeke
HaoZeke deleted the solved-dependency-dot branch November 4, 2026 11:38
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.

1 participant