Which version of mermaid is supported in Azure DevOps Wikis

Viewed 3414

Which version of mermaid is currently supported in AzureDevOps. In the official docs it only mentions some diagrams that are supported.

I was really loosing a lot of time because I was using features that are not supported by Azure DevOps.

I now went down to feature from 8.2.6 but I would like to know for sure which version is supported.

Thank you

5 Answers

Based on your description, I further checked this problem. Currently, the wiki supports the following Mermaid diagram types:

  1. Sequence diagrams
  2. Gantt Charts

Wiki does not support other types of Mermaid diagrams, so this seems to have nothing to do with the version. Regarding this feature, I help you find a user voice. You can vote and add comments on it.

As of Sprint 200 (March 2022) the following diagrams are supported up to version 8.13.9:

  • Flowchart
  • Sequence diagrams
  • Gantt charts
  • Pie charts
  • Requirement diagrams
  • State diagrams
  • User Journey

I looked at the files downloaded from the Developer Tools: Network tab. I first thought it was 6.3 based upon the url but looking into the json I saw this...

"./package.json":function(e){e.exports={name:"mermaid",version:"8.2.3",description:"Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",main:"dist/mermaid.core.js",keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph"]

So as of this moment... I believe it to be 8.2.3

Sad that azure devops (server) wiki still not support mermaid.

One hack could be using the 'markdown' button on https://mermaid.live/ and then paste the markdown from mermaid.live into devops wiki.

Checking the listed support page it shows the following diagrams as supported:

Supported:

  • Sequence diagrams
  • Gantt charts
  • Flowcharts

Unsupported:

  • Pie charts
  • Requirement diagrams
  • State diagrams
  • User Journey

Testing each of the diagram types in a DevOps wiki page using the examples from the mermaid website, the first three work. The rest return an error "Unsupported diagram type". Truly amazing they have it documented as supported but in reality its not.

Related