- Install via npm or yarn:
npm install apl-substrate
OR:
- Clone the repository.
git clone https://github.com/jhuapl-boss/substrate.git
- Install all dependencies.
npm install
import Visualizer from 'apl-substrate/components/Visualizer';
import AxisLayer from 'apl-substrate/components/layers/AxisLayer';
V = new Visualizer({
renderTarget: "dom-id",
layers: {
axis: new AxisLayer()
}
});
V.triggerRender();
More documentation forthcoming... In the meantime, see the inline documentation, or get in touch with @j6k4m8.
If not otherwise marked, all code in this repository falls under the license granted in LICENSE.md.