Command
Get-ImageTopologyDiagnostics
Analyzes prepared ChartForgeX topology geometry and routing.
Syntax
Get-ImageTopologyDiagnostics [-LayoutPreset <Automatic|Dense|Compact|Balanced|Presentation>] [-Topology] <TopologyChart> [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Returns machine-readable node bounds, named port positions, edge routes, fallback reasons, overlap scores, and collisions.
Examples
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 BalancedExports a service diagram and returns its node and edge layout diagnostics.
Parameters
- -LayoutPreset TopologyLayoutPreset
- Reusable topology spacing and presentation profile.
- Possible values:
Automatic,Dense,Compact,Balanced,Presentation - -Topology TopologyChart
- 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.