Category tree for Mermaid