Demonstrate how to integrate maxGraph in projects.
⏩ Find the live demo at https://maxgraph.github.io/maxgraph-integration-examples/
Ensure you are using Node declared in the .nvmrc file (this is the tested version, it may work with other versions without guarantee)
If you are using nvm
, run
If the Node version is not installed, nvm
will state how to install the required version.
Install dependencies by running
Build the "shared" package:
NOTE: if you want to build all examples at once, you can run
./build-all-examples.bash
Note: the maxGraph
development version is tested in a GitHub Workflow that uses the procedure explained below.
Build maxGraph locally:
maxGraph
project root, run: npm install
packages/core
folder, run: npm pack
packages/core
folder or the generated packages/core/maxgraph-core-***.tgz
file are now ready for use in an external projectIn 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
npm link <path_to_locally_installed_maxgraph>/packages/core
: create a soft link to the maxgraph local folder. Repack of maxgraph is automatically available in the examplesnpm install <path_to_locally_installed_maxgraph>/packages/core/maxgraph-core-0.1.0.tgz
. This changes the package.json file. You must run this command again each time you rebuild the maxgraph npm package.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:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4