@ppci/allocation-graph

1.2.2 • Public • Published

Allocation Graph

Table of contents

  1. Installation
  2. Usage
  3. Properties

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>

Properties

Property Type Description Possible Values
*deviceId* String Show data for this device
*direction* String Data direction usage/delivery

/@ppci/allocation-graph/

    Package Sidebar

    Install

    npm i @ppci/allocation-graph

    Weekly Downloads

    35

    Version

    1.2.2

    License

    ISC

    Unpacked Size

    4.5 MB

    Total Files

    27

    Last publish

    Collaborators

    • borai
    • franksevenhuysen
    • fsevenhuysen
    • gaalman
    • nazim.mohammed