Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrisrus/develop #23

Merged
merged 5 commits into from
Jul 7, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Cleanup.
  • Loading branch information
Chris Russell committed Jul 7, 2015
commit 01df608c6647016d3b057189527bea22efd77509
16 changes: 7 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
// Encapsule/jsgraph/index.js
// Public package exports for jsgraph module.

//var DirectedGraphContainer = require('./src/digraph');
//var createTraversalContext = require('./src/digraph-algorithm-common-context');
//var digraphTranspose = require('./src/digraph-algorithm-transpose');
//var digraphBreadthFirstTraverse = require('./src/digraph-algorithm-bft');
//var digraphDepthFirstTraverse = require('./src/digraph-algorithm-dft');


var jsgraph = module.exports = {

// Directed graph algorithms and transforms.
Expand All @@ -33,12 +26,17 @@ var jsgraph = module.exports = {
create: require('./src/digraph').createDirectedGraph,

// Directed graph transposition algorithm.
// Creates a new DirectedGraph container object that's identical
// to a caller-specified digraph except that the direction of the
// the edges are reverese in the result digraph. Note that if present,
// vertex and edge properties in the source digraph are copied by
// reference to the result digraph.
transpose: require('./src/digraph-algorithm-transpose'),

// Directed graph breadth-first visit and search algorithms (unified API).
// Directed graph breadth-first traversal visitor algorithm.
breadthFirstTraverse: require('./src/digraph-algorithm-bft'),

// Directed graph depth-first visit and search algorithms.
// Directed graph depth-first traversal visitor algorithm.
depthFirstTraverse: require('./src/digraph-algorithm-dft'),

// Directed graph traversal context factory (advanced).
Expand Down