API Reference
Class
MermaidClassRelationship
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 System.String
- targetId System.String
- connector System.String
- label System.String?
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
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 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.
Inherited Properties
public MermaidSourceSpan Span { get; } #Inherited from MermaidAstNode