diff --git a/README.md b/README.md index 998fd30..179e5d6 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,42 @@ -# Allen Institute Vis +# Allen Institute Visualization TypeScript Libraries -This repository contains a collection of packages for building scalable visualization tools at the Allen Institute. It houses the `vis-[package name]` packages on the Allen Institute GitHub organization's NPM package registry. +This repository contains a collection of TypeScript libraries to help software engineers building scalable visualization tools at the Allen Institute. It houses the `vis-[package name]` packages on the Allen Institute GitHub organization's NPM package registry. -# Available Packages +**The published packages are in alpha or beta states. They may fundamentally change as we continue building out functionality.** They are used in a production environment so they are relatively stable, but the APIs are not yet finalized. +## Available Packages + +The following is the list of packages and their descriptions: + +- `vis-dzi`: A renderer for [Deep Zoom Images](https://en.wikipedia.org/wiki/Deep_Zoom) - `vis-geometry`: A collection of vector functions for 2D and 3D geometry -- `scatterbrain`: A collection of useful utitilites used to build our big-data, scalable, scatterplot tool "Scatterbrain" in the Brain Knowledge Platform +- `vis-omezarr`: A renderer for [OME-Zarr](https://ngff.openmicroscopy.org/latest/) datasets +- `vis-scatterbrain`: A collection of useful utilities used to build our big-data, scalable, scatterplot tool "Scatterbrain" in the Brain Knowledge Platform (will be renamed to `vis-core` in the future) + +We use [Semantic Versioning](https://semver.org/) for our packages. As of November 2024, all of them are in the `0.0.x` range, indicating that they are in early development. + +## Level Of Support + +We are planning on occasional updating this tool with no fixed schedule. Community involvement is encouraged through both issues and pull requests. -# Examples +## Examples -See the `apps` directory for example projects using the packages. Over time, these examples will become simpler as the base tooling becomes more mature. +See the `examples` directory for example projects using the packages. Over time, these examples will become more fully featured as the base tooling becomes more mature. For details on running or adding new examples, see the `docs/examples.md` file. -# Contributing +## Contributing Contributions are welcome! We're currently breaking apart the Scatterbrain component into smaller, more manageable packages. If you have a package that you think would be useful to others, please open a PR. See the CONTRIBUTING.md file for more information on how to contribute to the project! -# Installation for Development +## Installation for Development This project uses [Node.js](https://nodejs.org) and [pnpm](https://pnpm.io/). We use [Volta](https://volta.sh/) to manage the versions of each. If you're not using Volta, check the "volta" key in the root `package.json` for the Node and pnpm versions we're using when developing. Volta has experimental support for pnpm, so [follow the steps on their docs](https://docs.volta.sh/advanced/pnpm) to get it enabled. -# Using the Libraries +## Using the Libraries See the `docs/using-packages.md` file for information on how to use the packages in your own projects. diff --git a/docs/examples.md b/docs/examples.md index db7a575..40fe753 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -1,7 +1,7 @@ # Examples -Examples are located in the `examples` directory. +Examples are located in the `examples` directory. There is a single command that runs all the examples on one website: `npm run dev` ## Adding New Examples -To add a new example, create a new directory in the `examples` directory, copy the `package.json` from another example, and then start building! +To add a new example, add new code that demonstrates the feature you want to show off. Then add instructions on using it or UI to activate it on the `examples` application. diff --git a/docs/packages.md b/docs/packages.md new file mode 100644 index 0000000..18f1935 --- /dev/null +++ b/docs/packages.md @@ -0,0 +1,15 @@ +# Packages + +This repository holds multiple published packages. The current list of packages is below: + +- `vis-dzi`: A renderer for [Deep Zoom Images](https://en.wikipedia.org/wiki/Deep_Zoom) +- `vis-geometry`: A collection of vector functions for 2D and 3D geometry +- `vis-omezarr`: A renderer for [OME-Zarr](https://ngff.openmicroscopy.org/latest/) datasets +- `vis-scatterbrain`: A collection of useful utilities used to build our big-data, scalable, scatterplot tool "Scatterbrain" in the Brain Knowledge Platform (will be renamed to `vis-core` in the future) + +To install and use these packages, see the instructions in [using-packages.md](./using-packages.md). + +## Future Packages + +- `@alleninstitute/vis-core` - The core utilities common across all visualizations. This package will be the foundation for all other packages. +- `@alleninstitute/vis-react` - React component implementations of each of the visualization packages.