Skip to main content

Interface: ExportSvgOptions

Options for exporting diagram as SVG image.

See

CanvasApi.exportSvg

Extended by

Properties

PropertyTypeDescription

addXmlHeader?

boolean

Whether to prepend XML encoding header to the exported SVG string.

Prepended header:

<?xml version="1.0" encoding="UTF-8"?>

Default

false

removeByCssSelectors?

readonly string[]

CSS selectors to exclude specific DOM elements from the exported diagram.

By default, any element with data-reactodia-no-export is removed.

Default

["[data-reactodia-no-export]"]