Skip to main content

@tissuumaps/render

Rendering backends of TissUUmaps, exposed as an imperative API: OpenSeadragon for images and labels, WebGL 2 for points and shapes, and an SVG overlay for interactive shape drawing. It does not depend on React; see @tissuumaps/react for a React component built on top of it.

Installation​

npm install @tissuumaps/render

Its peer dependencies @tissuumaps/core and openseadragon are installed automatically by npm 7+, pnpm and Bun; with Yarn, install them yourself.

The WebGL points renderer loads its marker atlas from a data: URL. Under a Content Security Policy, allow it with img-src data:.

Documentation​

Classes​