generateMarkdown

Returns a complete Markdown document embedding the graph in a ```mermaid fenced block, so the file renders as a diagram directly on GitHub. Use for a committed graph.md.