HAS_MERMAID_DIAGRAM

Whether Mermaid diagrams are used and diagram-related scripts should be loaded.