Skip to content
ConsoleMonster
Class

FlowEdge

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Implements
IEquatable<FlowEdge>
Modifiers
sealed

A directed connection between adjacent flow nodes.

Inheritance

  • object
  • FlowEdge

Usage

Explore 8 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 2

Accepted by parameters 6

Constructors

public FlowEdge(string Key, string From, string To, string? Label = null, StatusKind? Status = null, bool Cut = false) #

A directed connection between adjacent flow nodes.

Parameters

Key string required
Stable key for live updates.
From string required
Source node key.
To string required
Next node key.
Label string? = null optional
Optional literal edge label.
Status ConsoleMonster.Styling.StatusKind? = null optional
Optional status.
Cut bool = false optional
Whether the connection is severed.

Methods

public FlowEdge <Clone>$() #

Returns

FlowEdge
public void Deconstruct(out string Key, out string From, out string To, out string? Label, out StatusKind? Status, out bool Cut) #

Parameters

Key string required
From string required
To string required
Label string? required
Status StatusKind? required
Cut bool required
Equals 2 overloads
public override bool Equals(object? obj) #

Parameters

obj object? required

Returns

bool
public bool Equals(FlowEdge? other) #

Parameters

other FlowEdge? required

Returns

bool
public override int GetHashCode() #

Returns

int
public static bool op_Equality(FlowEdge? left, FlowEdge? right) #

Parameters

left FlowEdge? required
right FlowEdge? required

Returns

bool
public static bool op_Inequality(FlowEdge? left, FlowEdge? right) #

Parameters

left FlowEdge? required
right FlowEdge? required

Returns

bool
public override string ToString() #

Returns

string

Properties

public string Key { get; init; } #

Stable key for live updates.

public string From { get; init; } #

Source node key.

public string To { get; init; } #

Next node key.

public string? Label { get; init; } #

Optional literal edge label.

public StatusKind? Status { get; init; } #

Optional status.

public bool Cut { get; init; } #

Whether the connection is severed.