add mermaid to spec