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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for GitGraphs not working for Mermaid Live Editor #3330

Merged
merged 2 commits into from Aug 18, 2022

Conversation

ashishjain0512
Copy link
Collaborator

馃搼 Summary

Fixes broken gitGraph for Mermaid Live Editor.

Resolves #3306

馃搹 Design Decisions

Moved the diagram registration logic out of initialize function, as Mermaid Live Editor used the parse function in the edit mode and initialize and renders later. Now diagram registration is independent of initialize() and hence fixes the issue.

馃搵 Tasks

Make sure you

  • 馃摉 have read the contribution guidelines
  • 馃捇 have added unit/e2e tests (if appropriate)
  • 馃敄 targeted develop branch

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.

Git Charts not working
2 participants