Skip to content

Verify a schema as a Mermaid diagram in markdown, svg or png - #844

Merged
SimonCropp merged 3 commits into
mainfrom
schema-diagram
Oct 9, 2026
Merged

SimonCropp merged 3 commits into
mainfrom
schema-diagram

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Adds support for verifying the tables of a schema as a Mermaid ER diagram, using DbToMermaid.

await Verify(connection)
    .SchemaAsDiagram(
        DiagramFormat.Markdown |
        DiagramFormat.Svg |
        DiagramFormat.Png);
  • SchemaAsDiagram selects markdown, svg, png, or any combination. One file is verified per format. Defaults to markdown.
  • Only available on net10.0, since SqlServerToMermaid and Naiad only target net10.0. The other targets are unchanged.
  • SchemaIncludes and SchemaFilter do not apply to a diagram. All tables are included.
  • Adds a net10.0 dependency on SqlServerToMermaid, which brings in Naiad for svg and png rendering. Naiad's sponsorship build check flows to consuming projects.
  • Adds the Papyrine OpenSource exemption to Directory.Build.props.
  • Bumps the version to 12.3.0.

@SimonCropp SimonCropp added this to the 12.3.0 milestone Oct 9, 2026
@SimonCropp
SimonCropp merged commit 2318df4 into main Oct 9, 2026
4 checks passed
@SimonCropp
SimonCropp deleted the schema-diagram branch October 9, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant