WardleyNote Class

A note of a Wardley map: a bold text at a position (Mermaid note "text" [visibility, evolution]).

public sealed class WardleyNote

Constructors

NameDescription
WardleyNote(string, double, double)Initializes a new instance of the WardleyNote class.

WardleyNote(string, double, double)

WardleyNote.cs

Initializes a new instance of the WardleyNote class.

public WardleyNote(string text, double visibility, double evolution)

Parameters

text string
The text of the note.
visibility double
The visibility of its start, between 0 (bottom) and 1 (top).
evolution double
The evolution of its start, between 0 (left) and 1 (right).

Properties

NameDescription
EvolutionGets or sets the evolution of the start of the text, between 0 (left) and 1 (right).
TextGets or sets the text of the note.
VisibilityGets or sets the visibility of the start of the text, between 0 (bottom) and 1 (top).

Gets or sets the evolution of the start of the text, between 0 (left) and 1 (right).

public double Evolution { get; set; }

Property value

double

Gets or sets the text of the note.

public string Text { get; set; }

Property value

string

Visibility

WardleyNote.cs

Gets or sets the visibility of the start of the text, between 0 (bottom) and 1 (top).

public double Visibility { get; set; }

Property value

double

Methods

NameDescription
ToString()Returns the text of the note.

ToString()

WardleyNote.cs

Returns the text of the note.

public override string ToString()

Returns

string The text.