Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
For example see mermaid live editor with this example.
I had a similar issue with hexagonal nodes. The issue seems to be, that mermaid.cli ships with an old version of mermaid.min.js which doesn't support these kinds of node types/attributes. I've solved this by also explicitly installing mermaid and then copying dist/mermaid.min.js into the mermaid.cli folder within node_modules :)