Skip to content

Companion to the Trrack provenance tracking library providing a user interface and provenance visualization.

License

Notifications You must be signed in to change notification settings

jku-vds-lab/trrack-notebook-vis

 
 

Repository files navigation

Trrack-Notebook-Vis Library

npm (scoped)

This library is used by jupyterlab_nbprovenance, an extension for JupyterLab to track provenance in notebooks. The provenance information is stored using the provenance tracking library trrack. This fork of Trrack-vis enhances the provenance visualization with features for notebooks.

Development

git clone https://github.com/JKU-ICG/trrack-notebook-vis.git
cd trrack-notebook-vis/
npm install

Use npm commands

  • npm t: Run test suite
  • npm start: Run npm run build in watch mode
  • npm run test:watch: Run test suite in interactive watch mode
  • npm run test:prod: Run linting and generate coverage
  • npm run build: Generate bundles and typings, create docs
  • npm run lint: Lints code

Together with Jupyterlab Extension

  1. Follow the Development instructions of the extension: jupyterlab_nbprovenance
    Make sure you use the same Python environment (i.e., where JupyterLab is installed with extension).
  2. Link this library: jupyter labextension link --minimize=False
    If you don't link this library, JuypterLab will pull its own copy of this library from npm and local changes won't show up.
    Disabling the minifier is optional, but minimizig the code is not necessary locally and it reduces the build time a little.
  3. You can verify the setup with: jupyter labextension list
    This should list the extension and this library as local extension and linked package, respectively.
  4. Make Code changes
  5. Rebuild application: npm run build
    JupyterLab updates itself, due to the --watch parameter
  6. Refresh JupyterLab

Publish

Make sure to npm login with the user icgbot first.

npm pack --dry-run  # verify files
npm publish

Resources

Project created using Typescript library starter by alexjoverm

About

Companion to the Trrack provenance tracking library providing a user interface and provenance visualization.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.2%
  • JavaScript 0.8%