Innovenergy_trunk/frontend/node_modules/graphlib/lib/alg/preorder.js

8 lines
114 B
JavaScript

var dfs = require("./dfs");
module.exports = preorder;
function preorder(g, vs) {
return dfs(g, vs, "pre");
}