Skip to main content

DiagramExportComponentOptions

Options for a diagram export component.

Extends​

Properties​

allowJpgExport?​

optional allowJpgExport: boolean

Defaults to true.

Inherited from​

SvgExportComponentOptions.allowJpgExport


allowPngExport?​

optional allowPngExport: boolean

Defaults to true.

Inherited from​

SvgExportComponentOptions.allowPngExport


allowSvgExport?​

optional allowSvgExport: boolean

Defaults to true.

Inherited from​

SvgExportComponentOptions.allowSvgExport


imageOptions?​

optional imageOptions: ImageExportUIOptions

Options for image exports.

Inherited from​

SvgExportComponentOptions.imageOptions


label?​

optional label: string

What to show in the label, if visible. Defaults to "Export:".

Inherited from​

SvgExportComponentOptions.label


margins?​

optional margins: PointXY

Optional margins to apply to both SVG and image exports. Will not override any margins specified in svgOptions or imageOptions.

Inherited from​

SvgExportComponentOptions.margins


showLabel?​

optional showLabel: boolean

Whether or not to show a label in front of the buttons. Defaults to true.

Inherited from​

SvgExportComponentOptions.showLabel


svgOptions?​

optional svgOptions: SvgExportUIOptions

Options for SVG exports.

Inherited from​

SvgExportComponentOptions.svgOptions