Installation
Using npm:
npm install url-graph
In Node.js:
const graph = ;
Example
make a graph from a set of urls
let urls = 'https://github.com/ansteh/url-graph' 'https://github.com/lodash/lodash' 'https://github.com/ansteh/shape-array' 'https://github.com/sindresorhus/got' 'https://github.com/ansteh/shape-json'; let domains = graph;console;
link directories
merge neighboring nodes with same count
let urls = 'https://github.com/ansteh/shape-json/blob/master/lib/chain.js' 'https://github.com/ansteh/shape-json/blob/master/lib/core.js' 'https://github.com/ansteh/shape-json/blob/master/lib/parse.js' 'https://github.com/ansteh/shape-json/blob/master/lib/scheme.js'; let reducedTree = graph;console;
License
MIT © Andre Stehle