From 43559ce1920b132262ce3e76fbe1a16babfe979f Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Mon, 27 Jul 2026 22:02:55 -0400 Subject: [PATCH 1/2] Fix for hidden node --- AsBuiltReport.Diagram/Src/Public/New-AbrDiagram.ps1 | 3 ++- CHANGELOG.md | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/AsBuiltReport.Diagram/Src/Public/New-AbrDiagram.ps1 b/AsBuiltReport.Diagram/Src/Public/New-AbrDiagram.ps1 index 7a3985d..ae184a6 100644 --- a/AsBuiltReport.Diagram/Src/Public/New-AbrDiagram.ps1 +++ b/AsBuiltReport.Diagram/Src/Public/New-AbrDiagram.ps1 @@ -675,7 +675,8 @@ function New-AbrDiagram { foreach ($OutputFormat in $Format) { #Export the Diagram if ($Graph) { - Export-AbrDiagram -GraphObj ($Graph | Select-String -Pattern '"\w+"\s\[label="";style="invis";shape="point";]' -NotMatch) -ErrorDebug $EnableErrorDebug -Format $OutputFormat -Filename "$Filename.$OutputFormat" -OutputFolderPath $OutputFolderPath -WaterMarkText $WaterMarkText -WaterMarkColor $WaterMarkColor -IconPath $IconPath -WaterMarkFontOpacity $WaterMarkFontOpacity + $FilteredGraph = $Graph | Select-String -Pattern '(?s)"?\w+"?\s+\[\s*label="";\s*shape="point";\s*style="invis";\s*\]' -NotMatch + Export-AbrDiagram -GraphObj $FilteredGraph -ErrorDebug $EnableErrorDebug -Format $OutputFormat -Filename "$Filename.$OutputFormat" -OutputFolderPath $OutputFolderPath -WaterMarkText $WaterMarkText -WaterMarkColor $WaterMarkColor -IconPath $IconPath -WaterMarkFontOpacity $WaterMarkFontOpacity } else { Write-Verbose -Message 'No Graph object found. Disabling diagram section' } diff --git a/CHANGELOG.md b/CHANGELOG.md index 51de53c..e8e20ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump module version v1.0.9 - Update Graphviz binaries to v15.1.0 +### :wrench: Fixed + +- Fix for hidden nodes in the diagram output interfering with the layout of the graph, causing some nodes to be misplaced or not displayed correctly + ## [1.0.8] - 2026-06-16 ### :toolbox: Added From fef5e5383479d4dd7487005bc06acd707dd0fd82 Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Mon, 27 Jul 2026 22:42:38 -0400 Subject: [PATCH 2/2] update changelog date --- .vscode/launch.json | 6 ++++++ CHANGELOG.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 4c752e5..343f0b2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,12 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name": "PowerShell: Module Interactive Session", + "type": "PowerShell", + "request": "launch", + "script": "Import-Module -Force /home/rebelinux/.local/share/powershell/Modules/AsBuiltReport.Diagram/AsBuiltReport.Diagram.psd1" + }, { "name": "PowerShell: Interactive Session", "type": "PowerShell", diff --git a/CHANGELOG.md b/CHANGELOG.md index e8e20ce..34b0451 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ 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.9] - Unreleased +## [1.0.9] - 2026-07-27 ### :arrows_clockwise: Changed