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

Support git graph diagrams in mermaid #344

Merged
merged 43 commits into from
Apr 28, 2016
Merged

Conversation

raghur
Copy link
Contributor

@raghur raghur commented Apr 25, 2016

Hi, this adds support for git graph diagrams (like Gitgraph.js) but within mermaid. It isn't as pretty yet but a lot of the functionality is in place.
In short,

gitGraph :                     
options                        
{"key": "value",               
"nodeWidth": 150               
}                              
end                            
    commit                     
    branch newbranch           
    checkout newbranch         
    commit                     
    commit                     
    checkout master            
    commit                     
    commit                     
    merge newbranch            

produces:

testgitgraph mm

There are some tests as well. Would love to get some feedback and eventually get this merged into mermaid.

@raghur
Copy link
Contributor Author

raghur commented Apr 28, 2016

@knsv Bump! :)

@knsv
Copy link
Collaborator

knsv commented May 29, 2016

This is now part of release 6.0.0. Thanks for you good work!

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.

2 participants