PsMermaidTools

PowerShell Module to create Mermaid diagrams.

View the Project on GitHub abbgrade/PsMermaidTools

Add-MermaidFlowchartNode

SYNOPSIS

Adds a new node to a flowchart.

SYNTAX

Add-MermaidFlowchartNode [-Diagram <Object>] [-Key] <String> [[-Text] <String>] [[-Shape] <String>]
 [-Class <String>] [<CommonParameters>]

DESCRIPTION

Create and add a note explicitly to the diagram. You can specify the style via class or geometry.

EXAMPLES

Example 1

PS C:\> 

PARAMETERS

-Diagram

The diagram, that the relation is added to.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Key

The identifier of the node.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Text

The node text.

Type: String
Parameter Sets: (All)
Aliases: Name

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Shape

The node shape.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Class

The class of the node.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

https://mermaid.js.org/syntax/flowchart.html#node-shapes