Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a link to mermaid.live render for mermaid markdown #2458

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mitchellgordon95
Copy link

When you ask the model to generate a diagram:

Screenshot 2024-11-25 at 2 35 23 PM

It will generate a link you can CMD-Click in iTerm to view it in the browser:

Screenshot 2024-11-25 at 2 35 46 PM

@CLAassistant
Copy link

CLAassistant commented Nov 25, 2024

CLA assistant check
All committers have signed the CLA.

@paul-gauthier
Copy link
Collaborator

Thanks for your interest in aider and for making this PR. This is an interesting idea, but probably out of scope to merge.

@mitchellgordon95
Copy link
Author

I understand if you'd like to keep the codebase tight and focused.

But if you're open to being convinced, here are a few examples of useful graphs that I have generated to grok the architecture of some projects.

"show me how the chess game state is managed"
Screenshot 2024-11-26 at 11 43 27 AM

"show me how the API is making calls to Claude to generate chess moves"
Screenshot 2024-11-26 at 11 46 06 AM

(aider repo) "make a UML graph that shows the major components of this project and how they interact"

Screenshot 2024-11-26 at 12 00 24 PM

IMO people would have a better UX if they learned to ask for graphs more often.

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.

3 participants