FlowchartElement Class

An element of a flowchart that edges can link: a node or a subgraph.

public abstract class FlowchartElement

Properties

NameDescription
CssClassesGets the classes of the element: the names of styles of FlowchartDiagram.ClassDefinitions, also written as CSS classes in the SVG.
IdGets the identifier of the element, unique in the flowchart.
LabelGets or sets the text of the element, or null to show its identifier.
LinkGets or sets the address the element links to in the SVG, or null for none.
StyleGets or sets the style of the element, which takes precedence over the style of its classes.
TooltipGets or sets the text shown when hovering the element in the SVG, or null for none.

Gets the classes of the element: the names of styles of FlowchartDiagram.ClassDefinitions, also written as CSS classes in the SVG.

public IList<string> CssClasses { get; }

Property value

IList<string>

Gets the identifier of the element, unique in the flowchart.

public string Id { get; }

Property value

string

Gets or sets the text of the element, or null to show its identifier.

public DiagramText? Label { get; set; }

Property value

DiagramText?

Gets or sets the style of the element, which takes precedence over the style of its classes.

public DiagramStyle? Style { get; set; }

Property value

DiagramStyle?

Gets or sets the text shown when hovering the element in the SVG, or null for none.

public string? Tooltip { get; set; }

Property value

string?

Methods

NameDescription
ToString()Returns the identifier of the element.

Returns the identifier of the element.

public override string ToString()

Returns

string The identifier.