Options
All
  • Public
  • Public/Protected
  • All
Menu

@thi.ng/adjacency

adjacency

npm versionnpm downloads Twitter Follow

This project is part of the @thi.ng/umbrella monorepo.

About

Sparse & bitwise adjacency matrices and related functions for directed & undirected graphs.

Status

STABLE - used in production

Search or submit any issues for this package

Installation

yarn add @thi.ng/adjacency
// ES module
<script type="module" src="https://unpkg.com/@thi.ng/adjacency?module" crossorigin></script>

// UMD
<script src="https://unpkg.com/@thi.ng/adjacency/lib/index.umd.js" crossorigin></script>

Package sizes (gzipped, pre-treeshake): ESM: 1.81 KB / CJS: 1.88 KB / UMD: 1.98 KB

Dependencies

Usage examples

Several demos in this repo's /examples directory are using this package.

A selection:

ScreenshotDescriptionLive demoSource
Poisson-disk shape-aware sampling, Voronoi & Minimum Spanning Tree visualizationDemoSource

API

Generated API docs

TODO

Authors

Karsten Schmidt

License

© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0

Generated using TypeDoc