@ppci/allocation-graph
v1.2.2
Published
Allocation graph
Downloads
16
Readme
Allocation Graph
Table of contents
Installation
NPM
npm i @ppci/allocation-graph
// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs
Usage
Javascript
import '@ppci/allocation-graph'
Browser
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/allocation-graph/builds/index.min.js" />
<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/allocation-graph/builds/legacy.min.js" />
<!-- Component -->
<allocation-graph
deviceId=${String}
direction=${String}
></allocation-graph>