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

New-ImageTopologyNodePort

Namespace ImagePlayground
Inputs
None
Outputs
ChartForgeX.Topology.TopologyNodePort

Creates a named attachment port for a topology node.

Remarks

Creates a named attachment port for a topology node.

Examples

Authored help example

Add an output port to a service node

PS>


$port = New-ImageTopologyNodePort -Id output -Side Right -Offset 0.5 -Label Database
            New-ImageTopologyNode -Id api -Label API -Kind Service -Port $port
        

Creates a port halfway along the right boundary and attaches it to the service node.

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

New-ImageTopologyNodePort -Id <String> [-Label <String>] [-Offset <Double>] -Side <Auto|Top|Right|Bottom|Left> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Id String requiredposition: 0pipeline: False
Node-local stable port identifier.
Label String optionalposition: namedpipeline: False
Optional visible or host-facing label.
Offset Double optionalposition: namedpipeline: False
Normalized position along the side from zero to one.
Side TopologyEdgePort requiredposition: 1pipeline: Falsevalues: 5
Explicit node boundary side.
Possible values: Auto, Top, Right, Bottom, Left

Outputs

ChartForgeX.Topology.TopologyNodePort