3 ms·Unfortunately, Mermaid is difficult to use as a non-frontend library due to its reliance on the DOM API.by xigoi 3y agoUnfortunately, Mermaid is difficult to use as a non-frontend library due to its reliance on the DOM API.