Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class UmlActivityShapes

    Show / Hide Table of Contents

    Class UmlActivityShapes

    The UML activity diagram is a flowchart that represents the flow from one activity to another. It describes the activity flow of a system, and the parallel flow of a system.

    Inheritance
    System.Object
    UmlActivityShapes
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class UmlActivityShapes : Enum
    Remarks
    The below code snippet is an example to set UMLActivity shape.
    Examples
    <SfDiagram Height="600px" Nodes="@NodeCollection">
    </SfDiagram>
    @code{
       //Defines diagram's connector collection
       public ObservableCollection<DiagramNode> NodeCollection { get; set; }
       public DiagramConstraints diagramConstraints = DiagramConstraints.Default;
       protected override void OnInitialized()
       {
           NodeCollection = new ObservableCollection<DiagramNode>();
           DiagramNode node = new DiagramNode()
           {
               Width = 100,
               Height = 100,
               OffsetX = 200,
               OffsetY = 200,
               Shape = new DiagramShape()
               {
                   Type = Syncfusion.Blazor.Diagrams.Shapes.UmlActivity,
                   //Define UmlActivity shape
                   UmlActivityShape = UmlActivityShapes.Action
               }
           };
           NodeCollection.Add(node);
       }
    }

    Fields

    AcceptingEvent

    Sets the type of UMLActivity to AcceptingEvent.

    Declaration
    public const UmlActivityShapes AcceptingEvent
    Field Value
    Type Description
    UmlActivityShapes

    Action

    Sets the type of UMLActivity to Action and it has a rounded corner square shape.

    Declaration
    public const UmlActivityShapes Action
    Field Value
    Type Description
    UmlActivityShapes

    Decision

    Sets the type of UMLActivity to Decision and it has a diamond-like shape.

    Declaration
    public const UmlActivityShapes Decision
    Field Value
    Type Description
    UmlActivityShapes

    FinalNode

    Sets the type of UMLActivity to FinalNode.

    Declaration
    public const UmlActivityShapes FinalNode
    Field Value
    Type Description
    UmlActivityShapes

    ForkNode

    Sets the type of UMLActivity to ForkNode.

    Declaration
    public const UmlActivityShapes ForkNode
    Field Value
    Type Description
    UmlActivityShapes

    InitialNode

    Sets the type of UMLActivity to InitialNode.

    Declaration
    public const UmlActivityShapes InitialNode
    Field Value
    Type Description
    UmlActivityShapes

    JoinNode

    Sets the type of UMLActivity to JoinNode.

    Declaration
    public const UmlActivityShapes JoinNode
    Field Value
    Type Description
    UmlActivityShapes

    MergeNode

    Sets the type of UMLActivity to MergeNode.

    Declaration
    public const UmlActivityShapes MergeNode
    Field Value
    Type Description
    UmlActivityShapes

    Note

    Sets the type of UMLActivity to Note.

    Declaration
    public const UmlActivityShapes Note
    Field Value
    Type Description
    UmlActivityShapes

    ReceiveSignal

    Sets the type of UMLActivity to RecieveSignal.

    Declaration
    public const UmlActivityShapes ReceiveSignal
    Field Value
    Type Description
    UmlActivityShapes

    SendSignal

    Sets the type of UMLActivity to SendSignal.

    Declaration
    public const UmlActivityShapes SendSignal
    Field Value
    Type Description
    UmlActivityShapes

    StructuredNode

    Sets the type of UMLActivity to StructuredNode and has a square shape.

    Declaration
    public const UmlActivityShapes StructuredNode
    Field Value
    Type Description
    UmlActivityShapes

    TimeEvent

    Sets the type of UMLActivity to TimeEvent.

    Declaration
    public const UmlActivityShapes TimeEvent
    Field Value
    Type Description
    UmlActivityShapes

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved