Mermaid - How to set "Graph Specific Options"?

What I’m trying to do

I would like to set a disable commit labels on a Mermaid Gitgraph using the Graph specific Option showCommitLabel: false

This is document by Mermaid at the following link.
Gitgraph Diagrams | Mermaid

Things I have tried

Adding the init line below has no effect.

%%{init: {}'gitGraph': {'showCommitLabel': false}} }%%
gitGraph
	commit id: "Initial"

i faintly remember some anomaly about this

i think i solved it by not entering the init as one line? or used some other formatting instead of %% that stuck?

i don’t remember exactly now

in the end i said goodbye to mermaid…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.