Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

graphlib-adjacency

Convert to graphlib or from adjacency list, and vice versa.

travis

testling

Example

var ga = require('graphlib-adjacency')
var graph = ga.toGraph({
  'This is\nan element': ['b', 'c'],
  'b': ['f'],
  'c': ['e', 'd'],
  'd': [],
  'e': [],
  'f': ['g'],
  'g': []
})

console.log(ga.toAdjacency(graph))

License

MIT

Something went wrong with that request. Please try again.