@hubmap/prov-vis
v0.0.4
Published
prov-vis React component
Downloads
11
Keywords
Readme
prov-vis
Generic wrapper for 4dn-dcic/react-workflow-viz:
- Takes W3C PROV-JSON as input.
- Call-backs for defining node names and on-click details.
- NPM package provides a React component, and a plain JS interface.
Development
This repo is bootstrapped with NWB.
To use the development demo:
npm install
npm start
and then visit http://localhost:3000/
.
To preview the static demo:
npm run build
http-server
then visit http://localhost:8080/
.
Publish
Make a release branch, confirm that tests pass, and run:
./publish.sh
That will bump the version, create a tag, publish to NPM, and push to GitHub.