@nebula.js/sn-org-chart

Org chart supernova

Usage no npm install needed!

<script type="module">
  import nebulaJsSnOrgChart from 'https://cdn.skypack.dev/@nebula.js/sn-org-chart';
</script>

README

sn-org-chart

CircleCI Coverage Status

Organizational chart for use with Qlik's Analytics Platform.

Org chart

Installing

Install as npm package: npm install @nebula.js/sn-org-chart.

You can also load through the script tag directly from https://unpkg.com.

Usage


import { embed } from '@nebula.js/stardust';
import org from '@nebula.js/sn-org-chart';

// 'app' is an enigma app model
const nuked = embed(app, {
  types: [{
    name: 'orgchart',
    load: () => Promise.resolve(org);
  }]
});

embed.render({
  element,
  type: 'orgchart',
});