C

VsdxExport

A class that provides methods for writing a single IGraph to the VSDX file format.

Inheritance Hierarchy

Remarks

This class performs the creation of the VsdxPackage, the rendering of a single diagram, and the serialization in a single step. See the VsdxIO class for a more powerful API.

The export will iterate the graph and create appropriate shapes, masters and stylesheets for each item of the graph. The user can supply IMasterProviders and IShapeProcessingSteps through a VsdxExportConfiguration in order to customize the appearance of the graph items in the VSDX format.

See VsdxIO for a more powerful API.

Members

No filters for this type

Constructors

Methods

Writes the graph of the graphComponent to a VSDX file Blob.

Parameters

graphComponent: GraphComponent

The graphComponent which will be exported. The export will make a defensive copy of it.

config?: VsdxExportConfiguration

Return Value

Promise<Blob>
A blob containing the VSDX file