Skip to content
ChartForgeX
Class

MermaidPacketRenderOptions

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Defines conversion and rendering defaults for Mermaid packet diagrams.

Inheritance

Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 8

Constructors

public MermaidPacketRenderOptions() #

Properties

public int Width { get; set; } #

Gets or sets the natural preview width.

public int? Height { get; set; } #

Gets or sets a fixed preview height. Null ends the frame where its field rows stop growing, up to 420.

public double Padding { get; set; } #

Gets or sets the inner preview padding.

public int? BitsPerRow { get; set; } #

Gets or sets the row width override; null uses source configuration, then 32 bits.

public bool? ShowBitNumbers { get; set; } #

Gets or sets bit-number visibility; null uses source configuration, then true.

public PacketBitOrder? BitOrder { get; set; } #

Gets or sets bit direction within each row; null uses source configuration, then ascending.

public double? BitWidth { get; set; } #

Gets or sets the preferred logical width of one bit; null uses source configuration, then automatic sizing.

public double? RowHeight { get; set; } #

Gets or sets the preferred logical field height; null uses source configuration, then automatic sizing.

public double? FieldGap { get; set; } #

Gets or sets the horizontal field gap; null uses source paddingX, then native spacing.

public double? RowGap { get; set; } #

Gets or sets the vertical row gap; null uses source paddingY, then native spacing.