ModelFactoryGenerateActionFlowNode Method
Generates a new
NodeDto for an action flow based on information
received from Blazor.Diagrams.
Namespace: MobileTrack.Common.ExtensionsAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static NodeDto GenerateActionFlowNode(
Guid id,
string label,
ActionFlowNodeType type,
bool deletable,
string iconName,
Point position,
List<PortDto> inputPorts,
List<PortDto> outputPorts,
bool isStatic
)
- id Guid
- ID of the node
- label String
- Label of the node
- type ActionFlowNodeType
- Type of the node (the function it executes)
- deletable Boolean
- Whether this node can be removed
- iconName String
- Icon to the top-left of the node
- position Point
- Position of the node
- inputPorts ListPortDto
- Input ports
- outputPorts ListPortDto
- Output ports
- isStatic Boolean
- Whether the node is fixed in position
NodeDtoGenerated node