Table of Contents

Class DiagramOptions

Namespace
ProjGraph.Lib.Core.Abstractions
Assembly
ProjGraph.Lib.Core.dll

Represents options for rendering a diagram.

public record DiagramOptions : IEquatable<DiagramOptions>
Inheritance
DiagramOptions
Implements
Inherited Members

Constructors

DiagramOptions(bool, bool, bool, ErdOwnedMode)

Represents options for rendering a diagram.

public DiagramOptions(bool ShowTitle = true, bool WrapInMarkdownFence = true, bool IncludePackages = false, ErdOwnedMode ErdOwnedMode = ErdOwnedMode.MirrorEf)

Parameters

ShowTitle bool

Whether to include the title in the rendered output.

WrapInMarkdownFence bool

Whether to wrap the output in a ```mermaid code fence. Defaults to true.

IncludePackages bool

Whether to include NuGet package dependencies in the graph.

ErdOwnedMode ErdOwnedMode

How EF Core owned types are represented in an ERD. Defaults to MirrorEf.

Properties

ErdOwnedMode

How EF Core owned types are represented in an ERD. Defaults to MirrorEf.

public ErdOwnedMode ErdOwnedMode { get; init; }

Property Value

ErdOwnedMode

IncludePackages

Whether to include NuGet package dependencies in the graph.

public bool IncludePackages { get; init; }

Property Value

bool

ShowTitle

Whether to include the title in the rendered output.

public bool ShowTitle { get; init; }

Property Value

bool

WrapInMarkdownFence

Whether to wrap the output in a ```mermaid code fence. Defaults to true.

public bool WrapInMarkdownFence { get; init; }

Property Value

bool