Skip to content

Node.js library to communicate with Aspose.Diagram REST API. Create, Convert & Inspect Visio® files in the Cloud.

License

Notifications You must be signed in to change notification settings

aspose-diagram-cloud/aspose-diagram-cloud-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm node-current npm bundle size GitHub license

Node.js Cloud REST API for Visio Processing

Aspose.Diagram Cloud SDK for Node.js helps you develop Visio file manipulation applications with the help of Aspose.Diagram REST API. It allows your applications to work with Microsoft Visio Object Model in order to create the diagrams from scratch or convert diagrams to popular formats including PDF, HTML, images and other Visio formats.

Visio Processing Features

  • Convert diagrams to 20+ different file formats.
  • Retrieve document information of a Visio diagram.
  • Programmatically create a new Microsoft Visio diagram file.
  • Convert Visio flow-charts to other supported formats.
  • Upload your business-oriented Visio diagrams to cloud storage.
  • Export Visio files to raster images, fixed-layout, and HTML formats.

Please refer to Developer's Guide to see what else you can achieve.

Read & Write Visio File Formats

Microsoft Visio: VSDX, VSX, VTX, VDX, VSSX, VSTX, VSDM, VSSM, VSTM

Save Visio Diagrams As

Fixed Layout: PDF, XPS Images: JPEG, PNG, BMP, TIFF, SVG, EMF Web: HTML Other: XAML, SWF

Read Visio Formats

Microsoft Visio: VDW, VSD, VSS, VST

New Features in Version 20.3

Added support to draw following objects on a page:

  • Polyline
  • Line
  • Ellipse

Added support to:

  • Set page setting
  • Add new empty page
  • Get pages info

For the detailed notes, please visit Aspose.Diagram Cloud 20.3 Release Notes.

Integrated Storage API

  • Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default).
  • Create, copy, move and delete folders.
  • Copy and move files and folders across separate storages in scope of a single operation.
  • Check if certain file, folder or storage exists.

Getting Started with Aspose.Diagram Cloud SDK for Node.js

Firstly, create an account at Aspose for Cloud to get your application information. Now execute npm install aspose-diagram-cloud-node --save from the command line to install Aspose.Diagram Cloud SDK for Node.js via NPM.

Create New VDX Diagram File in NodeJs

	// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	const diagramApi = new DiagramApi("MY_CLIENT_ID", "MY_CLIENT_SECRET");

	var req = new model.CreateNewRequest();
	req.name = "sample.vdx";
	req.isOverwrite = true;
	req.folder = storageTestFOLDER;
	
	return diagramApi.diagramNamePut(req).then((result) => { // handle result... });

Aspose.Diagram Cloud SDKs in Popular Languages

.NET Java PHP Python Ruby Node.js Android Perl Swift
GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven Composer PIP GEM NPM Maven CPAN POD

Home | Product Page | Documentation | Live Demo | API Reference | Code Samples | Blog | Free Support | Free Trial