(function () {
	if (typeof define == "function" && define.amd)
		define(["graphjs/Graph"], factory);
	else if (typeof exports == "object")
		module.exports = factory(require("graphjs/Graph"));
	else
		root.Collection = factory(root.Graph);
}(this, function (Graph) {
	return function Collection(Generic) {
		return function(array) {
			return array.map(function (entry) {
				return Graph.parse(Generic, entry);
			});
		}
	};
}));
(function (root, factory) {
	if (typeof define == "function" && define.amd)
		define(["graphjs/Graph"], factory);
	else if (typeof exports == "object")
		module.exports = factory(require("graphjs/Graph"));
	else
		root.Collection = factory(root.Graph);
}(this, function (Graph) {
	return function Collection(Generic) {
		return function(array) {
			return array.map(function (entry) {
				return Graph.parse(Generic, entry);
			});
		}
	};
}));
Fix bug with root parameter
Fix bug with root parameter
