Skip to content

Latest commit

 

History

History
 
 

js-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Integrate maxGraph in a vanilla JavaScript project built with Webpack

Demonstrate how to import/decode an XML model using Codecs.

Setup

From the repository root, run:

npm install
cd packages/core/
npm run build
cd ../../packages/js-example/
# For more details see 'Run' below
npm run dev

For more build information see: @maxgraph/core.

Run

Run npm run dev from this directory and go to http://localhost:8080/

If you want to bundle the application, run npm run build and then run npm run preview to access to a preview of the bundle application.