WardleyPipeline Class

A pipeline of a Wardley map: the variants of a component at different stages of evolution, drawn in a box at the visibility of the component, which moves above the box as a square (Mermaid pipeline Parent { ... }).

public sealed class WardleyPipeline

Constructors

NameDescription
WardleyPipeline(string)Initializes a new instance of the WardleyPipeline class.

WardleyPipeline(string)

WardleyPipeline.cs

Initializes a new instance of the WardleyPipeline class.

public WardleyPipeline(string parent)

Parameters

parent string
The name of the parent component.

Properties

NameDescription
ComponentsGets the components of the pipeline. Mermaid needs at least one.
ParentGets or sets the name of the parent component. Mermaid needs a component or an anchor of this name.

Gets the components of the pipeline. Mermaid needs at least one.

public IList<WardleyPipelineComponent> Components { get; }

Gets or sets the name of the parent component. Mermaid needs a component or an anchor of this name.

public string Parent { get; set; }

Property value

string

Methods

NameDescription
AddComponent(string, double)Adds a component to the pipeline.
ToString()Returns the name of the parent component.

AddComponent(string, double)

WardleyPipeline.cs

Adds a component to the pipeline.

public WardleyPipelineComponent AddComponent(string name, double evolution)

Parameters

name string
The name of the component.
evolution double
The evolution, between 0 (left) and 1 (right).

Returns

WardleyPipelineComponent The component.

Returns the name of the parent component.

public override string ToString()

Returns

string The name.