Command
New-ImageTopologyEdge
Creates a topology edge definition.
Syntax
New-ImageTopologyEdge [-Color <String>] [-DashPattern <Double[]>] [-Direction <Forward|Backward|Bidirectional>] [-Emphasis <Normal|Subtle|Strong>] [-Href <String>] [-Id <String>] [-Kind <TopologyEdgeKind>] [[-Label] <String>] [-LabelOffsetX <Double>] [-LabelOffsetY <Double>] [-LineStyle <Auto|Solid|Dashed|Dotted>] [-MinimumRankSpan <Int32>] [-Muted] [-Opacity <Double>] [-PreferredLength <Double>] [-RouteLane <Double>] [-Routing <Straight|Curved|Orthogonal|ObstacleAvoidingOrthogonal>] [-RoutingPriority <Int32>] [-SecondaryLabel <String>] [-SourceLabel <String>] [-SourceMarker <TopologyMarkerKind>] [-SourceNodeId] <String> [-SourcePort <Auto|Top|Right|Bottom|Left>] [-SourcePortId <String>] [-Status <Healthy|Warning|Critical|Unknown|Disabled>] [-StrokeWidth <Double>] [-TargetLabel <String>] [-TargetMarker <TopologyMarkerKind>] [-TargetNodeId] <String> [-TargetPort <Auto|Top|Right|Bottom|Left>] [-TargetPortId <String>] [-TertiaryLabel <String>] [-Tooltip <String>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Use this cmdlet inside New-ImageTopology to describe a relationship between topology nodes.
Examples
Create a dependency edge
New-ImageTopologyEdge -SourceNodeId api -TargetNodeId database -Label '32 ms' -Kind Dependency -Status Warning -Direction ForwardCreates a ChartForgeX topology edge that can be rendered by New-ImageTopology.
Parameters
- -Color String
- Optional edge color as a CSS hex color.
- -DashPattern Double[]
- Alternating dash and gap lengths in pixels.
- -Direction VisualLinkDirection
- Direction marker behavior.
- Possible values:
Forward,Backward,Bidirectional - -Emphasis TopologyEdgeEmphasis
- Edge visual emphasis.
- Possible values:
Normal,Subtle,Strong - -Href String
- Optional drill-down link for SVG and HTML outputs.
- -Id String
- Stable edge identifier. When omitted, a unique identifier is derived from source and target node ids.
- -Kind TopologyEdgeKind
- Relationship kind.
- Possible values:
Generic,Link,Replication,Connectivity,Dependency,Trust,Mapping,AuthenticationPath,CertificateChain,DataFlow,Ownership,Membership - -Label String
- Primary edge label.
- -LabelOffsetX Double
- Optional horizontal edge-label offset in pixels.
- -LabelOffsetY Double
- Optional vertical edge-label offset in pixels.
- -LineStyle TopologyEdgeLineStyle
- Edge line style.
- Possible values:
Auto,Solid,Dashed,Dotted - -MinimumRankSpan Int32
- Preferred minimum layer separation for layered layout.
- -Muted SwitchParameter
- Render the edge as a quiet structural relationship.
- -Opacity Double
- Optional edge opacity from zero to one.
- -PreferredLength Double
- Preferred spring length for force-directed layout.
- -RouteLane Double
- Optional route lane offset in pixels.
- -Routing TopologyEdgeRouting
- Edge routing mode.
- Possible values:
Straight,Curved,Orthogonal,ObstacleAvoidingOrthogonal - -RoutingPriority Int32
- Caller-defined routing and rendering priority. Higher values render above lower values.
- -SecondaryLabel String
- Secondary edge label.
- -SourceLabel String
- Optional label rendered near the source endpoint.
- -SourceMarker TopologyMarkerKind
- Optional source endpoint marker.
- Possible values:
Arrow,Circle,Diamond,OpenTriangle,OpenDiamond,ExactlyOne,ZeroOrOne,OneOrMany,ZeroOrMany - -SourceNodeId String
- Source node identifier.
- -SourcePort TopologyEdgePort
- Preferred source attachment side.
- Possible values:
Auto,Top,Right,Bottom,Left - -SourcePortId String
- Named port id on the source node.
- -Status TopologyHealthStatus
- Relationship health or state.
- Possible values:
Healthy,Warning,Critical,Unknown,Disabled - -StrokeWidth Double
- Optional edge stroke width in pixels.
- -TargetLabel String
- Optional label rendered near the target endpoint.
- -TargetMarker TopologyMarkerKind
- Optional target endpoint marker.
- Possible values:
Arrow,Circle,Diamond,OpenTriangle,OpenDiamond,ExactlyOne,ZeroOrOne,OneOrMany,ZeroOrMany - -TargetNodeId String
- Target node identifier.
- -TargetPort TopologyEdgePort
- Preferred target attachment side.
- Possible values:
Auto,Top,Right,Bottom,Left - -TargetPortId String
- Named port id on the target node.
- -TertiaryLabel String
- Tertiary edge label.
- -Tooltip String
- Optional tooltip for SVG and HTML outputs.
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.