Phase 5: Record/Row styling, HTML-label fix, Cells, export aliases - #5
Merged
Merged
Conversation
Fixes Format-Value's HTML-like label detection to recognize any GraphViz HTML-like label, not just ones starting with <table (KevinMarquette#100). Adds Record -TableAttributes and Row -Separator to control inter-row borders and add a dedicated divider row (KevinMarquette#81). Ports Cells from upstream PR KevinMarquette#105 (pipeline objects -> HTML table rows), fixing the original's PortPoroperty typo and lowercase tags. Adds format-specific Export-PSGraph aliases (pngGraph, svgGraph, dotGraph, etc.) inferring -OutputFormat from the alias name, using this module's existing static [Alias(...)] pattern instead of PR KevinMarquette#105's colliding runtime New-Alias -Scope Global loop. Bumps to 3.1.0 (additive, non-breaking). 401/401 Pester tests passing locally with GraphViz on PATH. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014u9G91TefcQ42MAGvWrrqK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Format-Value's HTML-like-label detection so any valid GraphViz HTML-like label round-trips, not just ones starting with<table(Custom Label HTML KevinMarquette/PSGraph#100).Record -TableAttributesandRow -Separatorto control inter-row borders and add a dedicated divider row (Tuning record a bit more KevinMarquette/PSGraph#81).Cellsfrom upstream PR Multiple changes in one PR (sorry) KevinMarquette/PSGraph#105 (pipeline objects → HTML table rows forRecord), fixing the original'sPortPoropertytypo and lowercase tags.Export-PSGraphaliases (pngGraph,svgGraph,dotGraph, etc., one per-OutputFormatvalue), inferring the format from the alias name unless-OutputFormatis passed explicitly — using this module's existing static[Alias(...)]pattern instead of PR Multiple changes in one PR (sorry) KevinMarquette/PSGraph#105's runtimeNew-Alias -Scope Globalloop (which also collided withGraph's existingDiGraphalias).ModuleVersionto3.1.0(additive, non-breaking) with matchingCHANGELOG.md/manifest release notes.See
local_PSGraph/plans/phase5-followup-candidates.mdandlocal_PSGraph/sessions/2026-08-29-phase5-record-html-cells-export-aliases.mdfor the full scoping/session writeup (companion docs repo, not part of this diff).Test plan
master), including bothgraphviz-tagged and untagged Describe blocks, with GraphViz onPATH.<The <font color='red'><b>foo</b></font>>) renders throughNodeinstead of erroring.Record -TableAttributes @{CELLBORDER=0}+Row -Separatortogether produce the expected DOT.$objects | Cells -PortProperty Name | Recordcombined output.pngGraphwrites a real PNG viadot,svgGraph -PassThrureturns real<svg>output, and an explicit-OutputFormatstill overrides the alias-inferred one.🤖 Generated with Claude Code
https://claude.ai/code/session_014u9G91TefcQ42MAGvWrrqK