The Common Canvas tooling consists of two Node JS modules:
-
A
Common Canvas
for use in building canvas-like applications. See detailed API and event documentation. -
Test harness
See here for setting up local environment
Clone elyra/canvas
git clone [email protected]:elyra-ai/canvas.git
# install global libraries for building
npm install -g grunt-cli sass
# Build common-canvas and common-properties
./<elyra/canvas>/canvas_modules/common-canvas/build.sh
In your application's package.json replace
"@elyra/canvas": "<verson>"
with
"@elyra/canvas": "file:<elyra/canvas>/canvas_modules/common-canvas"
Delete @elyra/canvas from node_modules of your application
# Run npm install to get local copy of common-canvas and/or common-properties
npm install