WardleyAnnotation Class

A numbered annotation of a Wardley map: a number in a circle at a position, whose text is listed in the box of the annotations (Mermaid annotation 1,[visibility, evolution] "text").

public sealed class WardleyAnnotation

Constructors

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

WardleyAnnotation(int, string, double, double)

WardleyAnnotation.cs

Initializes a new instance of the WardleyAnnotation class.

public WardleyAnnotation(int number, string text, double visibility, double evolution)

Parameters

number int
The number, positive or zero.
text string
The text, listed in the box of the annotations. An empty text is not listed.
visibility double
The visibility of the circle, between 0 (bottom) and 1 (top).
evolution double
The evolution of the circle, between 0 (left) and 1 (right).

Properties

NameDescription
EvolutionGets or sets the evolution of the circle, between 0 (left) and 1 (right).
NumberGets or sets the number, positive or zero.
TextGets or sets the text, listed in the box of the annotations. An empty text is not listed.
VisibilityGets or sets the visibility of the circle, between 0 (bottom) and 1 (top).

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

public double Evolution { get; set; }

Property value

double

Gets or sets the number, positive or zero.

public int Number { get; set; }

Property value

int

Gets or sets the text, listed in the box of the annotations. An empty text is not listed.

public string Text { get; set; }

Property value

string

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

public double Visibility { get; set; }

Property value

double

Methods

NameDescription
ToString()Returns the number and the text of the annotation.

Returns the number and the text of the annotation.

public override string ToString()

Returns

string The text.