{"_id":"@aureooms/js-adjacency-matrix","_rev":"2-7789b2cbe442a9ea5a98c2342d43a7c3","name":"@aureooms/js-adjacency-matrix","description":"Adjacency matrix code bricks for JavaScript","dist-tags":{"latest":"3.1.6"},"versions":{"3.1.6":{"name":"@aureooms/js-adjacency-matrix","homepage":"http://aureooms.github.io/js-adjacency-matrix/","keywords":["adjacency","adjacency matrix","bricks","edge","edges","ender","graph","graphs","javascript","js","matrix","network","networks","vertex","vertices"],"scripts":{"doc":"groc","test":"aureooms-node-package-test","build":"aureooms-node-package-build"},"license":"AGPL-3.0","version":"3.1.6","spm":{"main":"js/dist/adjacency-matrix.js"},"main":"js/dist/adjacency-matrix.js","description":"Adjacency matrix code bricks for JavaScript","repository":{"url":"git+https://github.com/aureooms/js-adjacency-matrix.git","type":"git"},"author":{"name":"aureooms"},"devDependencies":{"@aureooms/js-graph-spec":"^5.0.0","@aureooms/js-itertools":"^3.0.0","aureooms-node-package":"^6.0.1"},"dependencies":{},"bugs":{"url":"https://github.com/aureooms/js-adjacency-matrix/issues"},"gitHead":"f8638feba5bf0d5e9000b9254adeb726bd4ba261","_id":"@aureooms/js-adjacency-matrix@3.1.6","_shasum":"8884a9eaa5f64ab931715251c240a7a861da57c0","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.5.0","_npmUser":{"name":"aureooms","email":"aurelien.ooms@gmail.com"},"dist":{"shasum":"8884a9eaa5f64ab931715251c240a7a861da57c0","tarball":"https://registry.npmjs.org/@aureooms/js-adjacency-matrix/-/js-adjacency-matrix-3.1.6.tgz","integrity":"sha512-NP3cU8Nq72y9Gj2Zdf8PFPFy+Z3NU4PIAHRHt78I7zsHya4DZRXCys281s2FkIvpPE40l/ThSyFZEb+jCtDtFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+niNRn3dxDA+t2As5ENnTNNkKEW3KK6BlrsCYFe/5LAiEAkOznu0Ta0uIPAu0iwtotHcRs++7/ydF3sGLe1Nw2aXA="}]},"maintainers":[{"name":"aureooms","email":"aurelien.ooms@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/js-adjacency-matrix-3.1.6.tgz_1487246822902_0.03810325195081532"}}},"readme":"[js-adjacency-matrix](http://aureooms.github.io/js-adjacency-matrix)\n==\n\nAdjacency matrix code bricks for JavaScript.\nFollows the specification in\n[js-graph-spec](https://github.com/aureooms/js-graph-spec).\nParent is [js-gn](https://github.com/aureooms/js-gn).\n\n```js\nfor ( let v of V( G ) ) ... ;\n```\n\n[![NPM license](http://img.shields.io/npm/l/@aureooms/js-adjacency-matrix.svg?style=flat)](https://raw.githubusercontent.com/aureooms/js-adjacency-matrix/master/LICENSE)\n[![NPM version](http://img.shields.io/npm/v/@aureooms/js-adjacency-matrix.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-adjacency-matrix)\n[![Bower version](http://img.shields.io/bower/v/@aureooms/js-adjacency-matrix.svg?style=flat)](http://bower.io/search/?q=@aureooms/js-adjacency-matrix)\n[![Build Status](http://img.shields.io/travis/aureooms/js-adjacency-matrix.svg?style=flat)](https://travis-ci.org/aureooms/js-adjacency-matrix)\n[![Coverage Status](http://img.shields.io/coveralls/aureooms/js-adjacency-matrix.svg?style=flat)](https://coveralls.io/r/aureooms/js-adjacency-matrix)\n[![Dependencies Status](http://img.shields.io/david/aureooms/js-adjacency-matrix.svg?style=flat)](https://david-dm.org/aureooms/js-adjacency-matrix#info=dependencies)\n[![devDependencies Status](http://img.shields.io/david/dev/aureooms/js-adjacency-matrix.svg?style=flat)](https://david-dm.org/aureooms/js-adjacency-matrix#info=devDependencies)\n[![Code Climate](http://img.shields.io/codeclimate/github/aureooms/js-adjacency-matrix.svg?style=flat)](https://codeclimate.com/github/aureooms/js-adjacency-matrix)\n[![NPM downloads per month](http://img.shields.io/npm/dm/@aureooms/js-adjacency-matrix.svg?style=flat)](https://www.npmjs.org/package/@aureooms/js-adjacency-matrix)\n[![GitHub issues](http://img.shields.io/github/issues/aureooms/js-adjacency-matrix.svg?style=flat)](https://github.com/aureooms/js-adjacency-matrix/issues)\n[![Inline docs](http://inch-ci.org/github/aureooms/js-adjacency-matrix.svg?branch=master&style=shields)](http://inch-ci.org/github/aureooms/js-adjacency-matrix)\n\nCan be managed through [jspm](https://github.com/jspm/jspm-cli),\n[duo](https://github.com/duojs/duo),\n[component](https://github.com/componentjs/component),\n[bower](https://github.com/bower/bower),\n[ender](https://github.com/ender-js/Ender),\n[jam](https://github.com/caolan/jam),\n[spm](https://github.com/spmjs/spm),\nand [npm](https://github.com/npm/npm).\n\n## Install\n\n### jspm\n```terminal\njspm install github:aureooms/js-adjacency-matrix\n# or\njspm install npm:@aureooms/js-adjacency-matrix\n```\n### duo\nNo install step needed for duo!\n\n### component\n```terminal\ncomponent install aureooms/js-adjacency-matrix\n```\n\n### bower\n```terminal\nbower install @aureooms/js-adjacency-matrix\n```\n\n### ender\n```terminal\nender add @aureooms/js-adjacency-matrix\n```\n\n### jam\n```terminal\njam install @aureooms/js-adjacency-matrix\n```\n\n### spm\n```terminal\nspm install @aureooms/js-adjacency-matrix --save\n```\n\n### npm\n```terminal\nnpm install @aureooms/js-adjacency-matrix --save\n```\n\n## Require\n### jspm\n```js\nlet adjacencymatrix = require( \"github:aureooms/js-adjacency-matrix\" ) ;\n// or\nimport adjacencymatrix from '@aureooms/js-adjacency-matrix' ;\n```\n### duo\n```js\nlet adjacencymatrix = require( \"aureooms/js-adjacency-matrix\" ) ;\n```\n\n### component, ender, spm, npm\n```js\nlet adjacencymatrix = require( \"@aureooms/js-adjacency-matrix\" ) ;\n```\n\n### bower\nThe script tag exposes the global variable `adjacencymatrix`.\n```html\n<script src=\"bower_components/@aureooms/js-adjacency-matrix/js/dist/adjacency-matrix.min.js\"></script>\n```\nAlternatively, you can use any tool mentioned [here](http://bower.io/docs/tools/).\n\n### jam\n```js\nrequire( [ \"@aureooms/js-adjacency-matrix\" ] , function ( adjacencymatrix ) { ... } ) ;\n```\n\n## Use\n\n\n```js\nlet Graph = adjacencymatrix.Graph ;\n// use `adjacencymatrix.DiGraph` for directed graphs\n\nlet { V , E , N } = require( \"@aureooms/js-graph-theory-notation\" ) ;\n\nlet G = new Graph( ) ;\n\nlet u = G.vadd( ) ;\n\nlet v = G.vadd( ) ;\n\nlet e = G.eadd( u , v ) ;\n\nfor ( let w of V( G ) ) ... ;\n\nfor ( let e of E( G ) ) ... ;\n\nfor ( let w of N( G , u ) ) ... ;\n\nG.edel( e ) ;\n\nG.vdel( v ) ;\n\nG.vdel( u ) ;\n```\n","maintainers":[{"name":"aureooms","email":"aurelien.ooms@gmail.com"}],"time":{"modified":"2022-06-12T14:51:54.347Z","created":"2017-02-16T12:07:04.915Z","3.1.6":"2017-02-16T12:07:04.915Z"},"homepage":"http://aureooms.github.io/js-adjacency-matrix/","keywords":["adjacency","adjacency matrix","bricks","edge","edges","ender","graph","graphs","javascript","js","matrix","network","networks","vertex","vertices"],"repository":{"url":"git+https://github.com/aureooms/js-adjacency-matrix.git","type":"git"},"author":{"name":"aureooms"},"bugs":{"url":"https://github.com/aureooms/js-adjacency-matrix/issues"},"license":"AGPL-3.0","readmeFilename":"README.md"}