Skip to content
ChartForgeX
Command

Get-ImageTopologyDiagnostics

Module imageplayground
Inputs
ChartForgeX.Topology.TopologyChart
Outputs
ChartForgeX.Topology.TopologyLayoutDiagnosticReport

Analyzes prepared ChartForgeX topology geometry and routing.

Syntax

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

Description

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

$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.

Parameters

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

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.