digraph/directed_graph.c
/* 
 * Takes a Directed Graph pointer and if the Directed Graph pointer is not NULL, the number
 * if vertices in the Directed Graph struct is returned, otherwise -1 is returned.
 */
Takes a Directed Graph pointer and if the Directed Graph pointer is not NULL, the number
if vertices in the Directed Graph struct is returned, otherwise -1 is returned.
Takes a Directed Graph pointer and if the Directed Graph pointer is not NULL the number if vertices in the Directed Graph struct is returned otherwise - 1 is returned .
int digraph_size(DirectedGraph* graph)
{
	if(graph == NULL)
	{
		return -1;
	}
	else
	{
		return linked_list_size(graph->vertexList);
	}
}
int digraph_size ( DirectedGraph * graph ) { if ( graph == NULL ) { return -1 ; } else { return linked_list_size ( graph -> vertexList ) ; } }
Takes a Directed Graph pointer and if the Directed Graph pointer is not NULL, the number
 if vertices in the Directed Graph struct is returned, otherwise -1 is returned.
Takes a Directed Graph pointer and if the Directed Graph pointer is not NULL the number if vertices in the Directed Graph struct is returned otherwise - 1 is returned .