mermaid-graph 1.1.11

dotnet tool install --global mermaid-graph --version 1.1.11
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local mermaid-graph --version 1.1.11
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=mermaid-graph&version=1.1.11
                    
nuke :add-package mermaid-graph --version 1.1.11
                    

MermaidGraph.NET

MermaidGraph.NET badge

Create a mermaid graph of the dependency diagram for a project, or whole solution.

Dotnet tool NuGet version (mermaid-graph)

You can install as a dotnet tool so you can easily map all of your software projects:

dotnet tool install --global mermaid-graph

Usage

Description:
  Outputs a mermaid graph of the dependency diagram for a project, or whole solution.

Usage:
  mermaid-graph [options]

Options:
  --path <path>         Full path to the solution (*.sln) or project (*.csproj) file that will be mapped.
  --type <Class|Graph>  The type of diagram to generate (e.g., Graph or Class). [default: Graph]
  --filter <filter>     Exclude projects whose name matches the filter. (e.g., Test). []
  --no-nuget            Do not include NuGet packages in the graph. [default: False]
  --version             Show version information
  -?, -h, --help        Show help and usage information

Example output from this solution

You can run the following command to generate a class diagram for this solution:

.\mermaid-graph.exe --path "MermaidGraph.NET.sln" --type Class

This will generate a mermaid graph in the console output, which can be piped to a file and used in a markdown document.

---
title: MermaidGraph.NET.sln
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class MermaidGraph.NET{
        type solution
    }
    MermaidGraph.NET --> mermaid-graph
    class mermaid-graph{
        type Exe
        target net8.0;net9.0
    }
    class Nerdbank.GitVersioning{
        type NuGet
        version 3.7.115
    }
    mermaid-graph ..> Nerdbank.GitVersioning
    class Microsoft.Build{
        type NuGet
        version 17.11.4
    }
    mermaid-graph ..> Microsoft.Build
    class Microsoft.Build.Locator{
        type NuGet
        version 1.9.1
    }
    mermaid-graph ..> Microsoft.Build.Locator
    class System.CommandLine.DragonFruit{
        type NuGet
        version 0.4.0-alpha.22272.1
    }
    mermaid-graph ..> System.CommandLine.DragonFruit
    MermaidGraph.NET --> MermaidGraphTests
    class MermaidGraphTests{
        type Exe
        target net9.0
    }
    MermaidGraphTests ..> mermaid-graph
    class Nerdbank.GitVersioning{
        type NuGet
        version 3.7.115
    }
    MermaidGraphTests ..> Nerdbank.GitVersioning
    class coverlet.collector{
        type NuGet
        version 6.0.4
    }
    MermaidGraphTests ..> coverlet.collector
    class coverlet.msbuild{
        type NuGet
        version 6.0.4
    }
    MermaidGraphTests ..> coverlet.msbuild
    class Microsoft.ClearScript.V8{
        type NuGet
        version 7.5.0
    }
    MermaidGraphTests ..> Microsoft.ClearScript.V8
    class Microsoft.ClearScript.V8.Native.win-x64{
        type NuGet
        version 7.5.0
    }
    MermaidGraphTests ..> Microsoft.ClearScript.V8.Native.win-x64
    class Microsoft.NET.Test.Sdk{
        type NuGet
        version 17.13.0
    }
    MermaidGraphTests ..> Microsoft.NET.Test.Sdk
    class MSTest.TestAdapter{
        type NuGet
        version 3.8.3
    }
    MermaidGraphTests ..> MSTest.TestAdapter
    class MSTest.TestFramework{
        type NuGet
        version 3.8.3
    }
    MermaidGraphTests ..> MSTest.TestFramework
    class NUnit{
        type NuGet
        version 4.3.2
    }
    MermaidGraphTests ..> NUnit
    class NUnit.Analyzers{
        type NuGet
        version 4.7.0
    }
    MermaidGraphTests ..> NUnit.Analyzers
    class NUnit3TestAdapter{
        type NuGet
        version 5.0.0
    }
    MermaidGraphTests ..> NUnit3TestAdapter
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.

This package has no dependencies.

Version Downloads Last Updated
1.1.11 170 5/1/2025
1.1.7 158 4/30/2025
1.1.5-g3e79d2c8f4 152 4/30/2025
1.0.0 199 4/29/2025
1.0.0-beta 103 2/14/2025
1.0.0-alpha 114 2/11/2025