Class BpmnSubProcessTypes
A group of tasks that are used to hide or reveal details of additional levels using the Collapsed property are known as Subprocess.
Inheritance
System.Object
BpmnSubProcessTypes
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class BpmnSubProcessTypes : Enum
Remarks
The following links might be helpful in understanding Subprocess |
1. BpmnEvents |
Examples
<SfDiagram Height="600px" Nodes="@NodeCollection">
</SfDiagram>
@code{
ObservableCollection<DiagramNode> NodeCollection = new ObservableCollection<DiagramNode>()
{
new DiagramNode()
{
OffsetX = 100, OffsetY = 100,Width = 100, Height = 100,
Shape = new DiagramShape()
{
Type = Shapes.Bpmn, BpmnShape = BpmnShapes.Activity,
///Sets activity to SubProcess
Activity=new DiagramBpmnActivity()
{
Activity = BpmnActivities.SubProcess,
///Sets the collapsed to true and type to Event
SubProcess=new DiagramBpmnSubProcess()
{
Collapsed = true, Type = BpmnSubProcessTypes.Transaction,
}
}
}
}
};
}
Fields
Event
A Subprocess is an event’s subprocess triggered by an event. The Type property of the subprocess allows users to define the type of subprocess.
Declaration
public const BpmnSubProcessTypes Event
Field Value
Type | Description |
---|---|
BpmnSubProcessTypes |
None
Sets the Subprocess to None.
Declaration
public const BpmnSubProcessTypes None
Field Value
Type | Description |
---|---|
BpmnSubProcessTypes |
Transaction
A Transaction is a set of activities that logically belong together to be completed.
Declaration
public const BpmnSubProcessTypes Transaction
Field Value
Type | Description |
---|---|
BpmnSubProcessTypes |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |