Diagram

Diagram instances are created by the Features when calling the method feature.getDiagram().

diagram.getSignRef()

Gets the sign ref of the diagram.

diagram.isDraft()

Returns true if the diagram was published as a draft (with watermark).

diagram.getDownloadUrl(format)

Returns a URL to download the latest version of the diagram in the given format.

Format must be one of: png, jpg or pdf.