Clusters a bunch of paths with graph representation.
Add this line to ~/.npmrc
to set up the package registry:
@indoor-analytics:registry=https://npm.pkg.github.com/indoor-analytics
In your project, install the package:
npm i --save @indoor-analytics/path-clustering
Import the function in your code:
import {clusterPaths} from '@indoor-analytics/path-clustering';
- Convert all inputs path into a graph;
- Truncate graph nodes regarding the provided zone of interest;
- cluster or split graph at will;
- Convert graph remaining nodes into paths.
TODO
TODO