Evotec

Project

PSWriteHTML

PSWriteHTML is an open-source PowerShell project with packages, release history, and working documentation.

Stars 995
Forks 114
Open issues 69
PowerShell Gallery downloads 7,436,513
Release v1.41.0
Language: PowerShell Updated: 2026-04-11

API Reference

Function

New-DiagramOptionsInteraction

Namespace PSWriteHTML

Creates a new diagram options interaction object with customizable options.

Remarks

This function defines a diagram options interaction object with various interactive features such as dragging nodes, dragging view, hiding edges on drag, hiding edges on zoom, hiding nodes on drag, hover effects, keyboard navigation, multiselect, navigation buttons, and selection options.

Examples

Authored help example

EXAMPLE 1


New-DiagramOptionsInteraction -DragNodes -DragView -HideEdgesOnDrag -HideNodesOnDrag -Hover -KeyboardEnabled -Multiselect -Selectable -SelectConnectedEdges
Creates a new diagram options interaction object with basic interactive features enabled.
        

EXAMPLE 2


New-DiagramOptionsInteraction -DragNodes -DragView -HideEdgesOnDrag -HideNodesOnDrag -Hover -KeyboardEnabled -Multiselect -Selectable -SelectConnectedEdges -NavigationButtons
Creates a new diagram options interaction object with navigation buttons added.
        

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-DiagramOptionsInteraction [-DragNodes <Nullable`1>] [-DragView <Nullable`1>] [-HideEdgesOnDrag <Nullable`1>] [-HideEdgesOnZoom <Nullable`1>] [-HideNodesOnDrag <Nullable`1>] [-Hover <Nullable`1>] [-HoverConnectedEdges <Nullable`1>] [-KeyboardBindToWindow <Nullable`1>] [-KeyboardEnabled <Nullable`1>] [-KeyboardSpeedX <Nullable`1>] [-KeyboardSpeedY <Nullable`1>] [-KeyboardSpeedZoom <Nullable`1>] [-Multiselect <Nullable`1>] [-NavigationButtons <Nullable`1>] [-Selectable <Nullable`1>] [-SelectConnectedEdges <Nullable`1>] [-TooltipDelay <Nullable`1>] [-ZoomView <Nullable`1>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

DragNodes Nullable`1 optionalposition: 0pipeline: False
Specifies whether dragging nodes is enabled.
DragView Nullable`1 optionalposition: 1pipeline: False
Specifies whether dragging the view is enabled.
HideEdgesOnDrag Nullable`1 optionalposition: 2pipeline: False
Specifies whether edges are hidden when dragging.
HideEdgesOnZoom Nullable`1 optionalposition: 3pipeline: False
Specifies whether edges are hidden when zooming.
HideNodesOnDrag Nullable`1 optionalposition: 4pipeline: False
Specifies whether nodes are hidden when dragging.
Hover Nullable`1 optionalposition: 5pipeline: False
Specifies whether hover effects are enabled.
HoverConnectedEdges Nullable`1 optionalposition: 6pipeline: False
Specifies whether connected edges are affected by hover.
KeyboardBindToWindow Nullable`1 optionalposition: 11pipeline: False
Specifies whether keyboard events are bound to the window.
KeyboardEnabled Nullable`1 optionalposition: 7pipeline: False
Specifies whether keyboard navigation is enabled.
KeyboardSpeedX Nullable`1 optionalposition: 8pipeline: False
Specifies the speed of movement in the X direction using the keyboard.
KeyboardSpeedY Nullable`1 optionalposition: 9pipeline: False
Specifies the speed of movement in the Y direction using the keyboard.
KeyboardSpeedZoom Nullable`1 optionalposition: 10pipeline: False
Specifies the speed of zooming using the keyboard.
Multiselect Nullable`1 optionalposition: 12pipeline: False
Specifies whether multiple selections are allowed.
NavigationButtons Nullable`1 optionalposition: 13pipeline: False
Specifies whether navigation buttons are displayed.
Selectable Nullable`1 optionalposition: 14pipeline: False
Specifies whether nodes and edges are selectable.
SelectConnectedEdges Nullable`1 optionalposition: 15pipeline: False
Specifies whether connected edges are selected along with nodes.
TooltipDelay Nullable`1 optionalposition: 16pipeline: False
ZoomView Nullable`1 optionalposition: 17pipeline: False