PsMermaidTools

PowerShell Module to create Mermaid diagrams.

View the Project on GitHub abbgrade/PsMermaidTools

Add-MermaidFlowchartClass

SYNOPSIS

Adds a new class to a flowchart.

SYNTAX

Add-MermaidFlowchartClass [-Diagram <Object>] [-Name] <String> [-Style] <String> [<CommonParameters>]

DESCRIPTION

Create a class and add it to a flowchart to define the style of a set of nodes.

EXAMPLES

Example 1

PS C:\> 

PARAMETERS

-Diagram

The diagram, that the class 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

-Name

The class name.

Type: String
Parameter Sets: (All)
Aliases:

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

-Style

The class tyle.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
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#classes