Skip to content
ChartForgeX
Class

MermaidClassRelationship

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes a Mermaid class relationship.

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 MermaidClassRelationship(string sourceId, string targetId, string connector, string? label, MermaidSourceSpan span) #

Initializes a class relationship.

Parameters

sourceId string required
targetId string required
connector string required
label string? required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string SourceId { get; } #

Gets the source class id.

public string TargetId { get; } #

Gets the target class id.

public string Connector { get; } #

Gets the Mermaid relationship connector.

public bool SourceIsInterface { get; } #

Gets whether the source endpoint is a distinct lollipop interface rather than a class.

public bool TargetIsInterface { get; } #

Gets whether the target endpoint is a distinct lollipop interface rather than a class.

public string? SourceMultiplicity { get; set; } #

Gets or sets the source endpoint multiplicity.

public string? TargetMultiplicity { get; set; } #

Gets or sets the target endpoint multiplicity.

public string? Label { get; } #

Gets the optional relationship label.