Class BpmnExpandedSubProcess
Represents the Expanded SubProcess that exposes its flow details within the context of its parent process.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class BpmnExpandedSubProcess : Shape, IDiagramObject, ICloneable
Remarks
The BpmnExpandedSubProcess is used to display a detailed flow within a larger process, allowing for more intricate control and visibility of subprocess activities.
Examples
Node node = new Node()
{
ID = "node1",
Width = 70,
Height = 70,
OffsetX = 100,
OffsetY = 300,
Shape = new BpmnExpandedSubProcess()
{
IsCall = true,
IsCompensation = true,
Loop = BpmnLoopCharacteristic.Standard,
IsAdhoc = true,
SubProcessType = BpmnSubProcessTypes.Transaction
}
};
Constructors
BpmnExpandedSubProcess()
Initializes a new instance of the BpmnExpandedSubProcess.
Declaration
public BpmnExpandedSubProcess()
BpmnExpandedSubProcess(BpmnExpandedSubProcess)
Creates a new instance of the BpmnExpandedSubProcess class.
Declaration
public BpmnExpandedSubProcess(BpmnExpandedSubProcess src)
Parameters
Type | Name | Description |
---|---|---|
BpmnExpandedSubProcess | src | The source BpmnExpandedSubProcess object to copy from. |
Properties
Children
Gets or sets the set of Children categorized together in the Expandedsubprocess.
Declaration
public DiagramObjectCollection<string> Children { get; set; }
Property Value
Type | Description |
---|---|
DiagramObjectCollection<System.String> | A DiagramObjectCollection<T> of System.String defining the processes inside the Expanded SubProcess. Initialized as an empty collection. |
Examples
Node node = new Node()
{
ID = "node1",
Width = 70,
Height = 70,
OffsetX = 100,
OffsetY = 300,
Shape = new BpmnExpandedSubProcess()
{
Children = new DiagramObjectCollection<string>() { "node2", "node3" }
}
};
IsAdhoc
Gets or sets the value indicating whether the ExpandedSubProcess is without any prescribed order or not.
Declaration
public bool IsAdhoc { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the SubProcess is ad-hoc; otherwise, false. Default is false. |
Examples
Node node = new Node()
{
ID = "node1",
Width = 70,
Height = 70,
OffsetX = 100,
OffsetY = 300,
Shape = new BpmnExpandedSubProcess()
{
IsAdhoc = true,
}
};
IsCompensation
Gets or sets the value indicating whether the collection of ExpandedSubProcess, describe some parts of the compensation method.
Declaration
public bool IsCompensation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the SubProcess supports compensation; otherwise, false. Default is false. |
Examples
Node node = new Node()
{
ID = "node1",
Width = 70,
Height = 70,
OffsetX = 100,
OffsetY = 300,
Shape = new BpmnExpandedSubProcess()
{
IsCompensation = true,
}
};
Loop
Gets or sets the loop characteristics of Expanded Subprocess.
Declaration
public BpmnLoopCharacteristic Loop { get; set; }
Property Value
Type | Description |
---|---|
BpmnLoopCharacteristic | A BpmnLoopCharacteristic enumeration value specifying the loop type. Default is None. |
Examples
Node node = new Node()
{
ID = "node1",
Width = 70,
Height = 70,
OffsetX = 100,
OffsetY = 300,
Shape = new BpmnExpandedSubProcess()
{
Loop = BpmnLoopCharacteristic.Standard,
}
};
SubProcessType
Gets or sets the specific type of the subprocess.
Declaration
public BpmnSubProcessType SubProcessType { get; set; }
Property Value
Type | Description |
---|---|
BpmnSubProcessType | A BpmnSubProcessType enumeration value specifying the subprocess type. Default is Default. |
Examples
Node node = new Node()
{
ID = "node1",
Width = 70,
Height = 70,
OffsetX = 100,
OffsetY = 300,
Shape = new BpmnExpandedSubProcess()
{
SubProcessType = BpmnSubProcessTypes.Transaction
}
};
Methods
Clone()
Creates a new BpmnExpandedSubProcess that is a copy of the current BpmnExpandedSubProcess.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | A new instance of BpmnExpandedSubProcess. |