We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to combine multiple shapes

Hi, I want to combine the Gateway shape with a Plus shape like this (from Visio)

I'm looking at the BPMN Editor demo, but I can't figure out how the X shape was added on top of the Gateway shape in code. I'm using C# web forms to create the shapes.

1 Reply

RT Ramya Thirugnanam Syncfusion Team May 8, 2019 09:58 AM UTC

Hi David,  
Please refer to the below code example to render a BPMN Gateway parallel shape(plus icon).  
Code example:  
<ej:Diagram ID="Diagram" runat="server" Height="600px" Width="900px">  
    <%--    Add the node to the nodes collection --%>  
        <%-- Defines the FlowShape shape type, type of the Event as Path , Event and GateWay  --%>  
        <ej:BPMNNode OffsetX="100" OffsetY="100" Height="70" Width="100"  
                     BorderWidth="2" BorderColor="black" Shape="Event" Event="End" Gateway="Parallel">  
Ramya T 

Live Chat Icon For mobile
Up arrow icon