function createEdgesForAllVertex(targetVertexNodes, categories, numberOfEdgesToCreate) {
		var edges = [];
		for (var i = 0; i<categories.length-1; i++) {
			var nodesOfcategory = getNodesByCategory(targetVertexNodes,categories[i]);
			nodesOfcategory.forEach(nodeOfcategory);
		}
		return edges;
	}
/*
	 *This creates All Edges of All Nodes except the last Category
	*/
This creates All Edges of All Nodes except the last Category
This creates All Edges of All Nodes except the last Category
function createEdgesForAllVertex(targetVertexNodes, categories, numberOfEdgesToCreate) {
		var edges = [];
		for (var i = 0; i<categories.length-1; i++) {
			var nodesOfcategory = getNodesByCategory(targetVertexNodes,categories[i]);
			nodesOfcategory.forEach(nodeOfcategory);
		}
		return edges;
	}
function createEdgesForAllVertex ( targetVertexNodes , categories , numberOfEdgesToCreate ) { var edges = [ ] ; for ( var i = 0 ; i < categories . length - 1 ; i ++ ) { var nodesOfcategory = getNodesByCategory ( targetVertexNodes , categories [ i ] ) ; nodesOfcategory . forEach ( nodeOfcategory ) ; } return edges ; }
This creates All Edges of All Nodes except the last Category
This creates All Edges of All Nodes except the last Category