Skip to content
ConsoleMonster
Cmdlet

New-ConsoleFlowEdge

Module
ConsoleMonster
Inputs
None
Outputs
ConsoleMonster.Widgets.FlowEdge

Creates a labelled connection between adjacent flow nodes.

Syntax

New-ConsoleFlowEdge
[-Cut]
-From <String>
-Key <String>
[-Label <String>]
[-Status <StatusKind>]
-To <String>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Builds an edge after its source and destination nodes have been added to a flow. From and To identify adjacent nodes in strip order. Label appears above the arrow; Cut severs the line with a cross, or x in ASCII mode.

Examples

Example 1

New-ConsoleFlowEdge -Key tls -From client -To host -Label 'TLS 1.3' -Status Pass

A successful TLS connection

Parameters

-Cut SwitchParameter optional
Draws a severed connection, using x in ASCII mode.
-From String required
Source node key.
-Key String required
Stable edge key.
-Label String optional
Literal label above the arrow.
-Status StatusKind optional
Optional edge status.
Possible values: Pending, Running, Pass, Fail, Warn, Skip, Info
-To String required
Next node key.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.