Skip to content
ChartForgeX
Class

MermaidEntityNode

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes one ER entity.

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 MermaidEntityNode(string id, MermaidSourceSpan span) #

Initializes an entity node.

Parameters

id string required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string Id { get; } #

Gets the entity id.

public string? Label { get; set; } #

Gets or sets an optional display alias; relationships continue to use MermaidEntityNode.Id.

public string? GroupId { get; set; } #

Gets or sets the containing entity-group identity.

public List<MermaidEntityAttribute> Attributes { get; } #

Gets entity attributes.

public List<string> Classes { get; } #

Gets assigned style classes in source order.

public Dictionary<string, string> Styles { get; } #

Gets resolved style declarations, including properties diagnosed without a native mapping.