AnnotationTypes API in JavaScript (ES5) Diagram API control
Defines the type of the annotation
Shape - Sets the annotation type as Shape
Path - Sets the annotation type as Path
Thank you for your feedback and comments.We will rectify this as soon as possible!