Novolis.CodeGen.Reflection.ClassDiagram 2026.1.2.47

There is a newer version of this package available.
See the version list below for details.
dotnet add package Novolis.CodeGen.Reflection.ClassDiagram --version 2026.1.2.47
                    
NuGet\Install-Package Novolis.CodeGen.Reflection.ClassDiagram -Version 2026.1.2.47
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Novolis.CodeGen.Reflection.ClassDiagram" Version="2026.1.2.47" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.CodeGen.Reflection.ClassDiagram" Version="2026.1.2.47" />
                    
Directory.Packages.props
<PackageReference Include="Novolis.CodeGen.Reflection.ClassDiagram" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Novolis.CodeGen.Reflection.ClassDiagram --version 2026.1.2.47
                    
#r "nuget: Novolis.CodeGen.Reflection.ClassDiagram, 2026.1.2.47"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Novolis.CodeGen.Reflection.ClassDiagram@2026.1.2.47
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Novolis.CodeGen.Reflection.ClassDiagram&version=2026.1.2.47
                    
Install as a Cake Addin
#tool nuget:?package=Novolis.CodeGen.Reflection.ClassDiagram&version=2026.1.2.47
                    
Install as a Cake Tool

<p align="center"> <a href="https://github.com/Novolis-Platform/novolis-codegen"> <img src="https://raw.githubusercontent.com/Novolis-Platform/.github/main/brand/logo-icon.svg" width="72" alt="Novolis"/> </a> </p>

Novolis.CodeGen.Reflection.ClassDiagram

Build Mermaid classDiagram text from reflected types in an assembly — type names, constructors, and diagram structure for docs and diagnostics.

Install

dotnet add package Novolis.CodeGen.Reflection.ClassDiagram

Prerequisites: .NET 10 SDK (net10.0), Novolis.CodeGen.Reflection (friendly/display name helpers).

Quick start

using System.Reflection;
using Novolis.CodeGen.Reflection.ClassDiagram;

Assembly assembly = typeof(MyService).Assembly;
var diagram = new ClassDiagramBuilder(assembly).Build();
// classDiagram
// class MyService
//     MyService()

Output is Mermaid source suitable for Markdown docs or CI-generated diagrams. The legacy Novolis.CodeGen.Reflection.Mermaid namespace is obsolete — use this package instead.

Quick start — interface-driven

IClassDiagramBuilder builder = new ClassDiagramBuilder(assembly);
string mermaid = builder.Build();

API

Type Role
ClassDiagramBuilder Build() → Mermaid classDiagram for all assembly types
IClassDiagramBuilder Diagram builder contract
IDiagramBuilder Base Build() diagram contract

Type and member labels use GetFriendlyName() / GetDisplayName() from Novolis.CodeGen.Reflection.

Support

Pre-release platform library. Diagrams list all public types in the assembly; filter at the call site if needed.

Package Role
Novolis.CodeGen.Reflection Friendly and display type names
Novolis.CodeGen.Reflection.Dump Emit C# initialization syntax from runtime objects
Novolis.CodeGen.Pipeline Multi-step codegen pipelines

More documentation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1.2.50 0 10/4/2026
2026.1.2.49 0 10/4/2026
2026.1.2.48 41 10/1/2026
2026.1.2.47 37 9/30/2026