ActionNodeBase Constructor

Default constructor

Definition

Namespace: MobileTrack.Web.Components.Models.ActionFlows
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
protected internal ActionNodeBase(
	bool deletable,
	ModalDropdownOptions options,
	ActionFlowNodeType type,
	IconName icon,
	Guid id,
	CardColor titleColor,
	Point? position = null,
	bool isStatic = false,
	string? label = null
)

Parameters

deletable  Boolean
Whether the node can be deleted by the user
options  ModalDropdownOptions
Dropdown options for the ports
type  ActionFlowNodeType
Type of node
icon  IconName
Icon to display
id  Guid
ID of the node
titleColor  CardColor
Title color
position  Point  (Optional)
Position on the map (can be left empty to place it center stage of the viewport)
isStatic  Boolean  (Optional)
Whether the node is fixed into position
label  String  (Optional)
Override name of the node; if left empty, the type will be used instead.

Exceptions

ArgumentNullExceptionThrown if options is
ArgumentExceptionThrown if type is left empty.

See Also