DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to update a workflow diagram after the code changes with ML View

Ask the assistant for a refined revision and see what was added, removed or changed.

Short answer: Select the node, edge or finding to change and choose Refine, then Copy prompt; then 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. All steps.

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

  1. Select the node, edge or finding to change and choose Refine, then Copy prompt.
  2. Pick an intent or type a specific question, and paste the prompt into the same assistant.
  3. Wait for the assistant to publish a new *.mlview.json revision.
  4. Read About, which opens on Changes since, and check the steps tagged new or changed.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer