Skip to content

Latest commit

 

History

History
81 lines (62 loc) · 2.19 KB

Get-ImageTopologyDiagnostics.md

File metadata and controls

81 lines (62 loc) · 2.19 KB
external help file ImagePlayground-help.xml
Module Name ImagePlayground
online version https://github.com/EvotecIT/ImagePlayground
schema 2.0.0

Get-ImageTopologyDiagnostics

SYNOPSIS

Analyzes prepared ChartForgeX topology geometry and routing.

SYNTAX

__AllParameterSets

Get-ImageTopologyDiagnostics [-Topology] <TopologyChart> [-LayoutPreset <TopologyLayoutPreset>] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

EXAMPLE 1

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.

PARAMETERS

-LayoutPreset

Reusable topology spacing and presentation profile.

Type: TopologyLayoutPreset
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Automatic, Dense, Compact, Balanced, Presentation

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Topology

Topology chart to analyze.

Type: TopologyChart
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

  • ChartForgeX.Topology.TopologyChart

OUTPUTS

  • ChartForgeX.Topology.TopologyLayoutDiagnosticReport

RELATED LINKS

  • None