JSPM

@thi.ng/adjacency

0.3.8
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 511
  • Score
    100M100P100Q99387F
  • License Apache-2.0

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

Package Exports

  • @thi.ng/adjacency

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@thi.ng/adjacency) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

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: 2.31 KB / CJS: 2.40 KB / UMD: 2.46 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

If this project contributes to an academic publication, please cite it as:

@misc{thing-adjacency,
  title = "@thi.ng/adjacency",
  author = "Karsten Schmidt",
  note = "https://thi.ng/adjacency",
  year = 2018
}

License

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