Skip to content
ChartForgeX
Class

MermaidC4RelationshipStyle

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

A native relationship paint and label-offset update for the identified C4 endpoints.

Inheritance

Usage

Explore 1 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

Constructors

public MermaidC4RelationshipStyle(string sourceAlias, string targetAlias, MermaidSourceSpan span) #

Initializes an update.

Parameters

sourceAlias string required
targetAlias string required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string SourceAlias { get; } #

Gets the source element identity.

public string TargetAlias { get; } #

Gets the target element identity.

public string? TextColor { get; set; } #

Gets or sets the label paint.

public string? LineColor { get; set; } #

Gets or sets the connector paint.

public double? OffsetX { get; set; } #

Gets or sets the explicit horizontal label offset.

public double? OffsetY { get; set; } #

Gets or sets the explicit vertical label offset.