Show-BuildGraph

1.0.5

Requirements:
- Invoke-Build command is available for calls
- Internet connection for using online viz-standalone.js
- or viz-standalone.js in the path, https://github.com/mdaines/viz.js
- or, when -Dot, dot in $env:Graphviz or in the path, http://graphviz.org/

The script calls Invoke-Build to get the build tasks, makes the DOT graph,
and uses either Viz.js or dot in
Requirements:
- Invoke-Build command is available for calls
- Internet connection for using online viz-standalone.js
- or viz-standalone.js in the path, https://github.com/mdaines/viz.js
- or, when -Dot, dot in $env:Graphviz or in the path, http://graphviz.org/

The script calls Invoke-Build to get the build tasks, makes the DOT graph,
and uses either Viz.js or dot in order to convert the graph for show.

Tasks without code are shown as ovals, conditional and incremental tasks as
notes, other tasks as boxes. Safe references are shown as dotted edges,
normal references as solid edges. Job numbers are not shown by default.

EXAMPLES

# Make and show HTML using viz-standalone.js (local or online)
Show-BuildGraph

# Make and show SVG using dot
Show-BuildGraph -Dot

# Make Build.png with job numbers and top to bottom edges
Show-BuildGraph -Dot -Number -NoShow -Code "" -Output Build.png

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Show-BuildGraph

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Roman Kuzmin

Package Details

Author(s)

  • Roman Kuzmin

Tags

Invoke-Build Graphviz

Functions

escape_text

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.0.5 (current version) 14 3/19/2024
1.0.4 9 3/7/2024
1.0.3 5 3/4/2024
1.0.2 5 3/4/2024
1.0.1 5 3/4/2024
1.0.0 6 3/1/2024
Show more