Gitlab supports mermaid too. It's always nice when there's feature parity between the two, as it makes it easier to jump between them.
click NodeName “URL”
There was an outstanding feature request on their forum for quite some while so didn't hold my breath for this to be added but glad it has.