Trrack / trrackjs

A library for history/provenance tracking in web-based visualizations.

Home Page:https://apps.vdl.sci.utah.edu/trrack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trrack

Trrack stands for reproducible tracking. Originally Trrack is a web-based provenance tracking library that can track application state in directed provenance graph.

This branch implements action based provenance tracking.

license npm latest version npm downloads Github Action

Development

Clone the repository and switch to trrack-action branch. This project was generated using Nx. Please refer to Nx for more any questions about monorepo setup.

Basic

Serve the react example by running the following:

npx nx react-trrack-example:serve

Any changes made to the core package will cause updates to the react example for easier testing

Advanced

To get started with development run:

yarn install # Trrack can also work with npm, but it uses workspaces feature which we have only tested with yarn.

yarn dev:all # Will run all examples

yarn test:all:watch # Will run tests for all trrack pacakges in watch mode

The repository is structured as follows:

trrack-monorepo
|
|--- pacakges # trrack library is located in this folder
    |--- core # Core action-based tracking library
    |--- redux # Redux toolkit wrapper for core
|
|--- apps # Trrack examples are located in this folder
    |--- react-trrack-example
    |--- rtk-trrack-example

Following the standards for Nx monorepos please install any dependency for the applications directly to root workspace. This ensures all the applications use same versions of any dependency. For the packages, install the dependency to appropriate package.

About

A library for history/provenance tracking in web-based visualizations.

https://apps.vdl.sci.utah.edu/trrack

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 74.9%Language:MDX 15.1%Language:JavaScript 4.7%Language:CSS 3.2%Language:HTML 1.9%Language:Shell 0.2%