maxGraph / maxgraph-integration-examples

Demonstrate how to integrate maxGraph in projects.
https://maxgraph.github.io/maxgraph-integration-examples/
MIT License
13 stars 2 forks source link
diagram examples typescript

maxGraph integration examples

Demonstrate how to integrate maxGraph in projects.

⏩ Find the live demo at https://maxgraph.github.io/maxgraph-integration-examples/

Getting started

Setup

Ensure you are using Node 18 (this is the tested version, it may work with other versions without guarantee)

If you are using nvm, run

nvm use

If the Node version is not installed, nvm will state how to install the required version.

Install dependencies by running

npm install

Build the "shared" package:

Available projects

Use the maxGraph development version

Note: the maxGraph development version is tested in a GitHub Workflow that uses the procedure explained below.

Build maxGraph locally:

In this folder where you clone the maxgraph-integration-examples project, go to the folder of the example you want to use. Then you can use one of the following solution

Release

The versioning in this repository follow the versioning of maxGraph. For example, version 0.5.0 uses maxGraph 0.5.0.

So, prior releasing a new version of this version, the maxGraph version must have been updated:

Once maxGraph has been updated, the release can be done by running the release workflow which: