Example of Shapes in Javascript Diagram Control


This sample illustrates basic built-in shapes such as basic shapes, flow shapes, and BPMN shapes in Syncfusion EJ2 Typescript Diagram.

More Details...


This example shows how to define built-in shapes that are used to visualize geometric information, work flow, or a business flow diagrams. The type property of the shape allows you to choose the type of the shape. Injecting Module The diagram component’s features are segregated into individual feature-wise modules. To use the BPMN shapes, inject BpmnDiagrams module using Diagram.Inject(BpmnDiagrams) method.