An HTML5 entity relationship diagram with entities as HTML elements and relationships as SVG Beziér curves. Items are arranged on a drawing canvas with a force-based or a spectral layout.
Clone the project from the source repository:
git clone https://github.com/hunyadi/entity-relationship-diagram.git
Install webpack
and TypeScript dependencies:
$ npm install webpack webpack-cli ts-loader --save-dev
Build the project with webpack
:
$ npx webpack --config webpack.config.js
Run the following commands to publish the package to npm:
$ npm login
$ npm publish --access public