Class
MermaidClassRelationship
ChartForgeX.Mermaid
Describes a Mermaid class relationship.
Inheritance
- MermaidAstNode
- MermaidClassRelationship
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
- Property MermaidClassDocument.Relationships
Constructors
public MermaidClassRelationship(string sourceId, string targetId, string connector, string? label, MermaidSourceSpan span) #Initializes a class relationship.
Parameters
- sourceId string
- targetId string
- connector string
- label string?
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
Properties
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.