Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 297 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 297 Bytes

graph-search

Usage:

On a command line:

./breadth_first.js ./data.json

In node:

npm install graph-search

var search_tools = require('graph-search');
var data = require('./data.json');
search_tools.depth_first(data);

See the sample data file.