Skip to content

[BUG/DOCS]: GitGraph support is unclear #7210

@rajat-ht

Description

@rajat-ht

Describe the bug
The documentation site regarding GitGraphs includes support for directives like "showBranches: false" and "showCommitLabel: false", e.g. https://docs.mermaidchart.com/mermaid-oss/syntax/gitgraph.html#hiding-branch-names-and-lines. However, I have been unable to reproduce this behavior in the playground, mermaid.live, or on GitHub itself (which supports gitGraph). In fact the doc-site itself has a diagram in this section to illustrate the directive - but the diagram itself seems to lack support (branch names and lines are still evident):

Image

To Reproduce
Described above.

Expected behavior
Expected branch names and lines to be toggleable by the documented directives, same with labels.

Screenshots
See above

Desktop (please complete the following information):

  • OS: [e.g. iOS] macOS
  • Browser [e.g. chrome, safari] Chrome and Safari
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
GitGraphs are great! Thanks!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions