Who it is forA developer who edited a training pipeline and needs the workflow diagram to match the new code.
The problemA diagram drawn before a code change goes stale, and rebuilding it by hand takes time.
The outcomeA new revision opens on the Changes since view, listing added, removed and changed steps, connections and findings.
What you need first
- Python 3.10+
- Node 20.18.1+
- VS Code
- A supported assistant: GitHub Copilot, Codex or Claude Code
- A target ML project to open in VS Code
Steps
- Select the node, edge or finding to change and choose Refine, then Copy prompt.
- Pick an intent or type a specific question, and paste the prompt into the same assistant.
- Wait for the assistant to publish a new *.mlview.json revision.
- Read About, which opens on Changes since, and check the steps tagged new or changed.
- Use Reveal in Diagram from the editor on any cited line you want to check.
Prompt for your agent
In the repo <target-project>, refine the MLView diagram <diagram-file>.mlview.json to reflect my recent edits to <changed-file>. Expect a new revision whose Changes since summary lists the affected steps. Verify that the new revision's changed items all cite lines that exist in the current files.
Caveat. Only revisions the panel has already shown are compared, so closing the panel or reloading the window forgets the comparison.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for realmyang/MLView and "Update a workflow diagram after the code changes"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer