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
ShowTitleboolWhether to include the title in the rendered output.
WrapInMarkdownFenceboolWhether to wrap the output in a ```mermaid code fence. Defaults to true.
IncludePackagesboolWhether to include NuGet package dependencies in the graph.
ErdOwnedModeErdOwnedModeHow 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
IncludePackages
Whether to include NuGet package dependencies in the graph.
public bool IncludePackages { get; init; }
Property Value
ShowTitle
Whether to include the title in the rendered output.
public bool ShowTitle { get; init; }
Property Value
WrapInMarkdownFence
Whether to wrap the output in a ```mermaid code fence. Defaults to true.
public bool WrapInMarkdownFence { get; init; }