KanbanDiagram Class

A kanban board: columns of cards, with their assignee, their ticket and their priority (Mermaid kanban).

public sealed class KanbanDiagram : Diagram
Inheritance
Diagram KanbanDiagram

Constructors

NameDescription
KanbanDiagram()

KanbanDiagram()

KanbanDiagram.cs
public KanbanDiagram()

No documentation is available.

Properties

NameDescription
ColumnWidthGets or sets the width of a column, in pixels. The default is 200 (Mermaid sectionWidth).
ColumnsGets the columns, from left to right.
TicketLinkFormatGets or sets the address of a ticket, where #TICKET# is replaced by the ticket of the card, or null for none: the tickets then link nowhere (Mermaid ticketBaseUrl). A ticket links only to an http, https, mailto or relative address, once #TICKET# is replaced: another address, such as a javascript: one, is not written.

ColumnWidth

KanbanDiagram.cs

Gets or sets the width of a column, in pixels. The default is 200 (Mermaid sectionWidth).

public double ColumnWidth { get; set; }

Property value

double

Gets the columns, from left to right.

public IList<KanbanColumn> Columns { get; }

Property value

IList<KanbanColumn>

TicketLinkFormat

KanbanDiagram.cs

Gets or sets the address of a ticket, where #TICKET# is replaced by the ticket of the card, or null for none: the tickets then link nowhere (Mermaid ticketBaseUrl). A ticket links only to an http, https, mailto or relative address, once #TICKET# is replaced: another address, such as a javascript: one, is not written.

public string? TicketLinkFormat { get; set; }

Property value

string?

Methods

NameDescription
AddColumn(string, DiagramText?)Adds a column.

AddColumn(string, DiagramText?)

KanbanDiagram.cs

Adds a column.

public KanbanColumn AddColumn(string id, DiagramText? label = null)

Parameters

id string
The identifier, which is the title when there is no label.
label DiagramText?
The title, or null to show the identifier.

Returns

KanbanColumn The column.