Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

Stars 101
Forks 7
Total downloads 712,707
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-10-09

API Reference

Command

Get-ImageTopologyDiagnostics

Namespace ImagePlayground
Inputs
ChartForgeX.Topology.TopologyChart
Outputs
ChartForgeX.Topology.TopologyLayoutDiagnosticReport

Analyzes prepared ChartForgeX topology geometry and routing.

Remarks

Returns machine-readable node bounds, named port positions, edge routes, fallback reasons, overlap scores, and collisions.

Examples

Authored help example

Inspect the layout of a service diagram

PS>


$chart = New-ImageTopology -TopologyDefinition {
                New-ImageTopologyNode -Id api -Label API -Kind Service
                New-ImageTopologyNode -Id db -Label Database -Kind Database
                New-ImageTopologyEdge -SourceNodeId api -TargetNodeId db -Kind Dependency
            } -Layout Layered -FilePath service-map.svg -PassThru
            $chart | Get-ImageTopologyDiagnostics -LayoutPreset Balanced
        

Exports a service diagram and returns its node and edge layout diagnostics.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Get-ImageTopologyDiagnostics [-LayoutPreset <Automatic|Dense|Compact|Balanced|Presentation>] -Topology <TopologyChart> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

LayoutPreset TopologyLayoutPreset optionalposition: namedpipeline: Falsevalues: 5
Reusable topology spacing and presentation profile.
Possible values: Automatic, Dense, Compact, Balanced, Presentation
Topology TopologyChart requiredposition: 0pipeline: True (ByValue)
Topology chart to analyze.

Outputs

ChartForgeX.Topology.TopologyLayoutDiagnosticReport