Skip to content
ConsoleMonster
Class

DiagramLink

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Modifiers
sealed

A directed connection; undeclared endpoint ids create labelled nodes.

Inheritance

  • object
  • DiagramLink

Usage

Explore 29 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 13

Accepted by parameters 16

Constructors

public DiagramLink(string from, string to) #

Connects two node ids.

Parameters

from string required
to string required

Properties

public string From { get; set; } #

The source node id.

public string To { get; set; } #

The destination node id.

public string? Label { get; set; } #

The connection's literal label.

public StatusKind Status { get; set; } #

The connection's health. Omit it to show no status marker.

public DiagramLinkStyle Style { get; set; } #

The connection's stroke.

public bool Both { get; set; } #

Whether arrows point in both directions.

Extension Methods

Both 2 overloads