Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AsBuiltReport.Diagram/AsBuiltReport.Diagram.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'AsBuiltReport.Diagram.psm1'

# Version number of this module.
ModuleVersion = '1.0.10'
ModuleVersion = '1.0.11'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/acyclic.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/bcomps.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/ccomps.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/cdt.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/cgraph++.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/cgraph.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/circo.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/cluster.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/dijkstra.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/dot.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/dot2gxl.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/dot_builtins.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/edgepaint.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/fdp.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gc.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gdtclft.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gml2gv.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/graphml2gv.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gv2gml.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gv2gxl.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvc++.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvc.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvcolor.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvgen.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvmap.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvpack.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvplugin_core.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvplugin_dot_layout.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvplugin_gd.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvplugin_gdiplus.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvplugin_kitty.dll
Binary file not shown.
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvplugin_pango.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvplugin_vt.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvplugin_webp.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvpr.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gvpr.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gxl2dot.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/gxl2gv.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/mingle.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/mm2gv.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/neato.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/nop.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/osage.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/patchwork.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/pathplan.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/prune.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/sccmap.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/sfdp.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/tcldot.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/tcldot_builtin.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/tclplan.dll
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/tred.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/twopi.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/unflatten.exe
Binary file not shown.
Binary file modified AsBuiltReport.Diagram/Tools/Graphviz/bin/xdot.dll
Binary file not shown.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.11] - Unreleased

### :arrows_clockwise: Changed

- Bump module version v1.0.11
- Update Graphviz binaries to v16.0.0
- Update test to correctly handle the new output format for the `Add-HtmlNodeTable -MultiIcon` cmdlet

### :wrench: Fixed

- Fix `Add-HtmlNodeTable -MultiIcon` with multi-key `-AditionalInfo` rendering each array value as its .NET type name (e.g. `System.Object[]`) instead of its content when the group being rendered has exactly 1 item

## [1.0.10] - 2026-08-03

### :arrows_clockwise: Changed
Expand Down
10 changes: 5 additions & 5 deletions Tests/Add-HtmlSubGraph.Tests.ps1

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Tests/AdvancedExample01.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Describe AdvancedExample01 {
It 'Should match HTML label USA-WebServers node with embedded image' {
$DotFile = ($RunFile).FullName
$DotContent = Get-Content -Path $DotFile -Raw
$ExpectedText = 'label=<<TABLE PORT="EdgeDot" STYLE="dashed,rounded" BORDER="1" CELLBORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#a8c3b8ff" COLOR="darkgray"><TR><TD valign="BOTTOM" ALIGN="Center" colspan="1" fixedsize="true" width="40" height="40"><IMG src="Server.png"></IMG></TD></TR><TR><TD valign="TOP" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="22" COLOR="#000000">AsBuiltReport.Diagram SubGraph</FONT></TD></TR><TR><TD align="Center" colspan="1"><FONT POINT-SIZE="22"><TABLE PORT="EdgeDot" STYLE="SOLID" BORDER="0" CELLBORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#a8c3b8ff" COLOR="#FFFFFF"><TR><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD></TR><TR><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-01" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-01</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-02" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-02</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-03" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-03</B></FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD></TR><TR><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-04" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-04</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-05" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-05</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-06" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-06</B></FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD></TR></TABLE></FONT></TD></TR></TABLE>>,'
$ExpectedText = 'label=<<TABLE PORT="EdgeDot" STYLE="dashed,rounded" BORDER="1" CELLBORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#a8c3b8ff" COLOR="darkgray"><TR><TD valign="BOTTOM" ALIGN="Center" colspan="1" fixedsize="true" width="40" height="40"><IMG src="Server.png"></IMG></TD></TR><TR><TD valign="TOP" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="22" COLOR="#000000">AsBuiltReport.Diagram SubGraph</FONT></TD></TR><TR><TD align="Center" colspan="1"><FONT POINT-SIZE="22"><TABLE PORT="EdgeDot" STYLE="SOLID" BORDER="0" CELLBORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#a8c3b8ff" COLOR="#FFFFFF"><TR><TD PORT="Icon_Web-Server-01" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD PORT="Icon_Web-Server-02" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD PORT="Icon_Web-Server-03" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD></TR><TR><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-01" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-01</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-02" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-02</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-03" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-03</B></FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD></TR><TR><TD PORT="Icon_Web-Server-04" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD PORT="Icon_Web-Server-05" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD PORT="Icon_Web-Server-06" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD></TR><TR><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-04" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-04</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-05" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-05</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-06" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-06</B></FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD></TR></TABLE></FONT></TD></TR></TABLE>>,'

$DotContent | Should -Match $ExpectedText
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/AdvancedExample02.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Describe AdvancedExample02 {
It 'Should match HTML label USA-WebServers node with embedded image' {
$DotFile = ($RunFile).FullName
$DotContent = Get-Content -Path $DotFile -Raw
$ExpectedText = 'label=<<TABLE PORT="EdgeDot" STYLE="dashed,rounded" BORDER="1" CELLBORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#a8c3b8ff" COLOR="darkgray"><TR><TD valign="BOTTOM" ALIGN="Center" colspan="1" fixedsize="true" width="40" height="40"><IMG src="Server.png"></IMG></TD></TR><TR><TD valign="TOP" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="22" COLOR="#000000">AsBuiltReport.Diagram SubGraph</FONT></TD></TR><TR><TD align="Center" colspan="1"><FONT POINT-SIZE="22"><TABLE PORT="EdgeDot" STYLE="SOLID" BORDER="0" CELLBORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#a8c3b8ff" COLOR="#FFFFFF"><TR><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD></TR><TR><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-01" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-01</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-02" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-02</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-03" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-03</B></FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD></TR><TR><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-04" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-04</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-05" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-05</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-06" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-06</B></FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD></TR></TABLE></FONT></TD></TR></TABLE>>,'
$ExpectedText = 'label=<<TABLE PORT="EdgeDot" STYLE="dashed,rounded" BORDER="1" CELLBORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#a8c3b8ff" COLOR="darkgray"><TR><TD valign="BOTTOM" ALIGN="Center" colspan="1" fixedsize="true" width="40" height="40"><IMG src="Server.png"></IMG></TD></TR><TR><TD valign="TOP" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="22" COLOR="#000000">AsBuiltReport.Diagram SubGraph</FONT></TD></TR><TR><TD align="Center" colspan="1"><FONT POINT-SIZE="22"><TABLE PORT="EdgeDot" STYLE="SOLID" BORDER="0" CELLBORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#a8c3b8ff" COLOR="#FFFFFF"><TR><TD PORT="Icon_Web-Server-01" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD PORT="Icon_Web-Server-02" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD PORT="Icon_Web-Server-03" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD></TR><TR><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-01" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-01</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-02" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-02</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-03" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-03</B></FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD></TR><TR><TD PORT="Icon_Web-Server-04" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD PORT="Icon_Web-Server-05" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD><TD PORT="Icon_Web-Server-06" ALIGN="Center" colspan="1"><img src="Linux_Server_RedHat.png"/></TD></TR><TR><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-04" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-04</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-05" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-05</B></FONT></TD><TD BGCOLOR="#a8c3b8ff" PORT="Web-Server-06" ALIGN="Center" colspan="1"><FONT FACE="Segoe Ui" POINT-SIZE="18" COLOR="#000000"><B>Web-Server-06</B></FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">OS: Redhat Linux</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Version: 10</FONT></TD></TR><TR><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD><TD ALIGN="Center" colspan="1"><FONT POINT-SIZE="18">Build: 10.1</FONT></TD></TR></TABLE></FONT></TD></TR></TABLE>>,'

$DotContent | Should -Match $ExpectedText
}
Expand Down
Loading