Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

@thi.ng/adjacency

0.1.44 • Public • Published

adjacency

npm version npm 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

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.80 KB / CJS: 1.87 KB / UMD: 1.95 KB

Dependencies

Usage examples

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

A selection:

Screenshot Description Live demo Source
Poisson-disk shape-aware sampling, Voronoi & Minimum Spanning Tree visualization Demo Source

API

Generated API docs

TODO

Authors

Karsten Schmidt

License

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

Install

npm i @thi.ng/adjacency

DownloadsWeekly Downloads

15

Version

0.1.44

License

Apache-2.0

Unpacked Size

90.5 kB

Total Files

24

Last publish

Collaborators

  • avatar