Continue a Diagram
Continue working on diagrams from previous sessions.
Finding Diagrams
List recent diagrams:
code
list_diagrams()
Filter by scope:
code
list_diagrams(scope: "project:my-app")
Search by content:
code
search_diagrams(query: "notification architecture")
Loading a Diagram
By ID (exact):
code
get_diagram(id: "abc-123")
By title (fuzzy match):
code
get_diagram(title: "notification flow")
With version history:
code
get_diagram(id: "abc-123", include_history: true)
Updating Diagrams
When you modify a diagram, the previous version is automatically saved to history.
Update content:
code
update_diagram( id: "abc-123", mermaid: "flowchart TD\n A --> B --> C", note: "Simplified the flow" )
Update metadata:
code
update_diagram( id: "abc-123", title: "New Title", context: "Updated context explaining changes", tags: ["architecture", "v2"] )
Version History
Diagrams track their evolution. Each update creates a version snapshot.
To see history:
code
get_diagram(id: "abc-123", include_history: true)
History shows:
- •Previous Mermaid content
- •Timestamp of each version
- •Notes explaining what changed
Exporting
As Mermaid file:
code
export_diagram(id: "abc-123", format: "mermaid")
As SVG (via Mermaid CLI):
code
export_diagram(id: "abc-123", format: "svg")
For draw.io:
code
export_diagram(id: "abc-123", format: "drawio")
Cleanup
Delete a diagram:
code
delete_diagram(id: "abc-123")
Workflow Tips
- •Start each session by checking for relevant existing diagrams
- •Update, don't recreate — build on existing work
- •Use notes — explain what changed when updating
- •Export for sharing — generate files others can view
Related Skills
- •capture — Create new diagrams during brainstorming