icon
menu

Ilograph Export API

For CI/CD

Export Ilograph diagrams to stand-alone HTML files via API.

Use the Ilograph Export API to export Ilograph diagrams to HTML from CI/CD workflows. The API is available online and on-premises.

Ilograph logo
Using the Ilograph Export API

The online version of the Ilograph Export API is accessed using the export-ilograph command-line utility. This utility pre-processes the diagram before sending it to the API for export. It handles retrieving and bundling any imported diagrams, libraries, and/or icons that the exported diagram requires. Follow these steps to install and use the export-ilograph command-line utility.

Step 1: Install Node

The export-ilograph command-line utility uses the Node runtime. Node can be downloaded here or installed with a package manager.

Step 2: Install export-ilograph

Once Node is installed, install the export-ilograph command-line utility using the following command:

npm install -g export-ilograph

Step 3: Create a test export (optional)

After the utility is installed, test out the utility by running the following command:

export-ilograph PATH_TO_DIAGRAM_FILE OUTPUT_PATH

For example, if there is a diagram called myDiagram.ilograph in the current directory, you could run:

export-ilograph ./myDiagram.ilograph ./myDiagram.ilograph.html

to export your diagram to myDiagram.ilograph.html.

Step 4: Export a diagram with a production key

To create a production export, pass your production API key to the utility with the -k parameter like so:

export-ilograph PATH_TO_DIAGRAM_FILE OUTPUT_PATH -k KEY

Purchase a production API key

$99.99 / month for 750 exports + 10¢ per export after 750
$399.99 / month for 5000 exports + 5¢ per export after 5000

For more information, please contact us at hello@ilograph.com.

Prefer an on-premises version of the Ilograph Export API? Contact us.