Simple mermaid graph fails
问题 I tried to run the example from the mermaid site (a working copy is on codepen.io): <script src="https://cdn.rawgit.com/knsv/mermaid/0.5.1/dist/mermaid.min.js"></script> <script>mermaid.initialize({startOnLoad:true});</script> <div class="mermaid"> graph TD; A-->B; A-->C; B-->D; C-->D; </div> The output is: At the same time, a sequence diagram works great. Where is the problem with the basic example? Update The issue was with Chrome 48 compatibility. It is fixed by using the latest js file: