Skip to content

Feature: add title option#22

Merged
HandyS11 merged 3 commits intodevelopfrom
feature/add-title-option
Feb 10, 2026
Merged

Feature: add title option#22
HandyS11 merged 3 commits intodevelopfrom
feature/add-title-option

Conversation

@HandyS11
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 10, 2026 16:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an includeTitle option across Mermaid renderers and exposes it via both the CLI and MCP tool APIs, allowing callers to suppress the Mermaid title/frontmatter header (and CLI non-mermaid header rendering).

Changes:

  • Add IncludeTitle support to Mermaid graph/ERD/class renderers (and base solution graph console renderer).
  • Expose includeTitle as an optional parameter on MCP tools and --title option in CLI commands.
  • Extend unit/contract tests and update docs/specs to reflect the new option.

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
tests/ProjGraph.Tests.Unit.ProjectGraph/MermaidGraphRendererTests.cs Adds coverage for disabling Mermaid title output.
tests/ProjGraph.Tests.Unit.EntityFramework/MermaidErdRendererTests.cs Adds coverage for enabling/disabling ERD Mermaid title output.
tests/ProjGraph.Tests.Unit.ClassDiagram/MermaidClassDiagramRendererTests.cs Adds coverage for enabling/disabling class diagram Mermaid title output.
tests/ProjGraph.Tests.Contract/McpErdContractTests.cs Updates tool contract to require new includeTitle optional parameter.
tests/ProjGraph.Tests.Contract/McpContractTests.cs Adds tool-count assertion and updates graph tool parameter contract for includeTitle.
tests/ProjGraph.Tests.Contract/McpClassDiagramTests.cs Updates class diagram tool contract to require includeTitle optional parameter.
src/ProjGraph.Mcp/README.md Documents new includeTitle parameter for MCP tools.
src/ProjGraph.Mcp/Program.cs Adds includeTitle parameters and wires them to renderers.
src/ProjGraph.Lib.ProjectGraph/Rendering/SolutionGraphRendererBase.cs Adds IncludeTitle to suppress console header rule.
src/ProjGraph.Lib.ProjectGraph/Rendering/MermaidGraphRenderer.cs Adds IncludeTitle to suppress Mermaid frontmatter/title.
src/ProjGraph.Lib.EntityFramework/Rendering/MermaidErdRenderer.cs Adds IncludeTitle to suppress Mermaid frontmatter/title.
src/ProjGraph.Lib.ClassDiagram/Rendering/MermaidClassDiagramRenderer.cs Adds IncludeTitle to suppress Mermaid frontmatter/title.
src/ProjGraph.Cli/README.md Documents --title usage and settings across commands.
src/ProjGraph.Cli/Commands/VisualizeCommand.cs Adds --title option and threads it into renderer selection.
src/ProjGraph.Cli/Commands/ErdCommand.cs Adds --title option and threads it into the Mermaid ERD renderer.
src/ProjGraph.Cli/Commands/ClassDiagramCommand.cs Adds --title option and threads it into the Mermaid class renderer.
specs/003-mermaid-class-diagram/spec.md Adds includeTitle parameter to spec.
specs/002-dbcontext-erd/spec.md Adds includeTitle parameter to spec.
specs/001-cli-graph-rendering/spec.md Adds includeTitle parameter to spec.
samples/visualize/simple-dependencies/README.md Adjusts code-fence language for sample output block.
README.md Adds example for generating Mermaid without title header.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@HandyS11 HandyS11 marked this pull request as draft February 10, 2026 17:05
@HandyS11 HandyS11 marked this pull request as ready for review February 10, 2026 17:06
@HandyS11
Copy link
Owner Author

@copilot review the PR

Copy link
Contributor

Copilot AI commented Feb 10, 2026

@HandyS11 I've opened a new pull request, #23, to work on those changes. Once the pull request is ready, I'll request review from you.

@HandyS11 HandyS11 merged commit ae6578a into develop Feb 10, 2026
2 checks passed
@HandyS11 HandyS11 deleted the feature/add-title-option branch February 10, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants