Creates a new Annotation.
The underlying node this annotation points to.
The render information for the underlying node this annotation points to. This can be null if the annotation denotes an embedding (constant, summary), in which case we use the node property.
The render information for the edge associated with the annotation.
The type of the annotation.
True if it is an in-annotation. False if it is an out-annotation.
Center position of annotation relative to the host node's center x.
Center position of annotation relative to the host node's center y.
A flag whether it is an in-annotation (if true) or out-annotation (if false).
Label horizontal offset from the end of the node shape
Array of points for edges from the annotation to its host node. Each point contains the point location, relative to the host node's center.
The names of nodes on either side of this edge.
Generated using TypeDoc
A class for rendering annotation object which contains label about the node embedded as annotation, type of annotation and the location of both the annotation's node and edge.
Annotation objects include embedded constants, embedded summary, and edge shortcuts.