Search code examples
gitlabwikimermaid

How can I add space to block title?


Is it possible to add space between words in the title of a block in mermaid flowchart generation?

Basically I needed something like: SearchService-->items details but I get an error and blank flowchart when trying it.

Relates to this question: Spaces in Mermaid that was not replied.


Solution

  • SearchService --> itemsdetails[item details] 
    

    Where itemsdetails is the id and "item details" is the node label.