Command
New-DiagramOptionsLinks
Creates a new set of options for diagram edges in a diagram.
Syntax
New-DiagramOptionsLinks [[-ArrowsFromEnabled] <Nullable`1>] [[-ArrowsFromScaleFactor] <Nullable`1>] [[-ArrowsFromType] <arrow|bar|circle>] [[-ArrowsMiddleEnabled] <Nullable`1>] [[-ArrowsMiddleScaleFactor] <Nullable`1>] [[-ArrowsMiddleType] <arrow|bar|circle>] [[-ArrowsToEnabled] <Nullable`1>] [[-ArrowsToScaleFactor] <Nullable`1>] [[-ArrowsToType] <arrow|bar|circle>] [[-ArrowStrikethrough] <Nullable`1>] [[-Chosen] <Nullable`1>] [[-Color] <String>] [[-ColorHighlight] <String>] [[-ColorHover] <String>] [[-ColorInherit] <true|false|from|to|both>] [[-ColorOpacity] <Nullable`1>] [[-Dashes] <Nullable`1>] [[-FontAlign] <center|left>] [[-FontBackground] <String>] [[-FontColor] <String>] [[-FontMulti] <false|true|markdown|html>] [[-FontName] <String>] [[-FontSize] <Nullable`1>] [[-FontStrokeColor] <String>] [[-FontStrokeWidth] <Nullable`1>] [[-FontVAdjust] <Nullable`1>] [[-Length] <String>] [[-WidthConstraint] <Nullable`1>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
This function creates a new set of options for diagram edges in a diagram. It allows customization of various properties such as arrows, colors, fonts, and constraints for diagram edges.
Examples
EXAMPLE 1
New-DiagramOptionsLinks -ArrowsToEnabled $true -ArrowsToScaleFactor 2 -ArrowsToType 'arrow' -ArrowsMiddleEnabled $false -ArrowsMiddleScaleFactor 1 -ArrowsMiddleType 'bar' -ArrowsFromEnabled $true -ArrowsFromScaleFactor 2 -ArrowsFromType 'circle' -ArrowStrikethrough $false -Chosen $true -Color 'blue' -ColorHighlight 'yellow' -ColorHover 'green' -ColorInherit 'from' -ColorOpacity 0.8 -Dashes $false -Length '100px' -FontColor 'black' -FontSize 12 -FontName 'Arial' -FontBackground 'white' -FontStrokeWidth 1 -FontStrokeColor 'gray' -FontAlign 'center' -FontMulti 'true' -FontVAdjust 0 -WidthConstraint 150Description ----------- Creates a new set of diagram edge options with specific configurations.
Parameters
- -ArrowsFromEnabled Nullable`1
- Specifies whether arrows pointing from the edge are enabled.
- -ArrowsFromScaleFactor Nullable`1
- Specifies the scale factor for arrows pointing from the edge.
- -ArrowsFromType String
- Specifies the type of arrows pointing from the edge. Valid values are 'arrow', 'bar', 'circle'.
- Possible values:
arrow,bar,circle - -ArrowsMiddleEnabled Nullable`1
- Specifies whether arrows in the middle of the edge are enabled.
- -ArrowsMiddleScaleFactor Nullable`1
- Specifies the scale factor for arrows in the middle of the edge.
- -ArrowsMiddleType String
- Specifies the type of arrows in the middle of the edge. Valid values are 'arrow', 'bar', 'circle'.
- Possible values:
arrow,bar,circle - -ArrowsToEnabled Nullable`1
- Specifies whether arrows pointing to the edge are enabled.
- -ArrowsToScaleFactor Nullable`1
- Specifies the scale factor for arrows pointing to the edge.
- -ArrowsToType String
- Specifies the type of arrows pointing to the edge. Valid values are 'arrow', 'bar', 'circle'.
- Possible values:
arrow,bar,circle - -ArrowStrikethrough Nullable`1
- Specifies whether the arrow should have a strikethrough effect.
- -Chosen Nullable`1
- Specifies whether the edge is chosen.
- -Color String
- Specifies the color of the edge.
- -ColorHighlight String
- Specifies the color of the edge when highlighted.
- -ColorHover String
- Specifies the color of the edge when hovered over.
- -ColorInherit String
- Specifies how the color of the edge should inherit. Valid values are 'true', 'false', 'from', 'to', 'both'.
- Possible values:
true,false,from,to,both - -ColorOpacity Nullable`1
- Specifies the opacity of the color of the edge. Range between 0 and 1.
- -Dashes Nullable`1
- Specifies whether the edge should be dashed.
- -FontAlign String
- Specifies the alignment of the font. Valid values are 'center', 'left'.
- Possible values:
center,left - -FontBackground String
- Specifies the background color of the font on the edge.
- -FontColor String
- Specifies the color of the font on the edge.
- -FontMulti String
- Specifies whether the font supports multiline. Valid values are 'false', 'true', 'markdown', 'html'.
- Possible values:
false,true,markdown,html - -FontName String
- Specifies the font name for the edge.
- -FontSize Nullable`1
- Specifies the font size in pixels.
- -FontStrokeColor String
- Specifies the stroke color of the font on the edge.
- -FontStrokeWidth Nullable`1
- Specifies the stroke width of the font in pixels.
- -FontVAdjust Nullable`1
- Specifies the vertical adjustment of the font.
- -Length String
- Specifies the length of the edge.
- -WidthConstraint Nullable`1
- Specifies the width constraint of the edge.
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.