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

Mermaid.live doesn't cycle branch styles in git graph #868

Closed
mclate opened this issue Jun 29, 2022 · 5 comments
Closed

Mermaid.live doesn't cycle branch styles in git graph #868

mclate opened this issue Jun 29, 2022 · 5 comments
Labels
mermaid This issue is related to mermaid library, not live editor. Stale

Comments

@mclate
Copy link

mclate commented Jun 29, 2022

Describe the bug
When there are more than 8 branches, contrary to the documentation, mermaid doesn't cycle through branch styles, but rather completely ignores to draw branch lines and only draws commits.

To Reproduce
Link to Live Editor: https://mermaid.live/edit#pako:eNp9kMtuwjAQRX8lmm6zCIRHyZqqH4DEyptJPCFWYxuZ8QKh_Dt2G2iIJbyyzpl7_bhBYyVBBSfF3w7PnTBNR82P9ZxpVEaY2mFAWb0Ixmqt-B8tU1SmaJWidYo2Kdqm6DNFuweCHDS5cGkZnnMTJssEcEeaBFRhK6lF37OAfKKO6BTWPV3izG8mqvAXxV_oo22LsMbQ6BajK4poX93y6aJ9deWkc-5Wk865Wz9z6XmbN53bWWdUgzBD-Ch_lsj0JRVbB1WL_YVyQM_2cDUNVOw8PYb2Ck8O9Tg13AHxgrSQ

Steps to reproduce the behavior:

  1. Got to mermaid.live
  2. Create gitBranch with more than 8 branches:
checkout main
branch b1
commit
branch b2
commit
....
  1. Notice, how after b7 there are no branch lines and commits are not connected

Expected behavior
Branch lines are present for more than 8 branches (cycling through styles, as per documentation)

Screenshots
Screenshot 2022-06-29 at 18 32 40

Desktop (please complete the following information):

  • Device: Mac
  • OS: MacOS Monterrey 12.4
  • Browser: Brave, Version 1.40.105 Chromium: 103.0.5060.53 (Official Build) (x86_64)
  • Version: Mermaid v9.1.2 Live Editor
@mclate mclate added the bug Something isn't working label Jun 29, 2022
@sidharthv96
Copy link
Member

Will be fixed once mermaid-js/mermaid#3150 is merged and released.

@sidharthv96 sidharthv96 added mermaid This issue is related to mermaid library, not live editor. and removed bug Something isn't working labels Jun 29, 2022
@mclate
Copy link
Author

mclate commented Aug 8, 2022

I see that mermaid-js/mermaid#3150 is merged, however it doesn't seem to be reflected in the editor.

@sidharthv96
Copy link
Member

That has been merged in mermaid, but we haven't released that version in live editor due to some regressions. #937

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days

@github-actions github-actions bot added the Stale label Nov 10, 2022
@sidharthv96
Copy link
Member

sidharthv96 commented Nov 10, 2022

Works now.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mermaid This issue is related to mermaid library, not live editor. Stale
Projects
None yet
Development

No branches or pull requests

2 participants