Skip to content

Latest commit

 

History

History
 
 

js-example-without-defaults

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Integrate maxGraph without defaults in a vanilla JavaScript project built with Webpack

Demonstrate how to integrate maxGraph without using defaults:

  • plugins
  • styles
  • shapes
  • perimeters
  • connectors
  • markers

Note: This example should be kept in sync with the ts-example-without-defaults example.

Setup

From the repository root, run:

npm install
cd packages/core/
npm run build
cd ../../packages/js-example-without-defaults/
# 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.