ObjectTypes API in JavaScript (ES5) Diagram API control
Defines the type of the object
Port - Sets the port type as object
Annotations - Sets the annotation type as object
Thank you for your feedback and comments.We will rectify this as soon as possible!