src/GraphCreation.c
/*
 * FUNCTION NAME: addAdjacencyList
 *
 * DESCRIPTION:
 * Function adds a node as a head to adjacency list.
 */
FUNCTION NAME: addAdjacencyList
DESCRIPTION:
Function adds a node as a head to adjacency list.
FUNCTION NAME : addAdjacencyList DESCRIPTION : Function adds a node as a head to adjacency list .
void addAdjacencyList(Graph_t* graph, const char* from)
{
    AdjacencyList_t* node = makeAdjacencyList(from);
    if (graph->head != NULL) {
        node->next = graph->head;
    }
    graph->head = node;
}
void addAdjacencyList ( Graph_t * graph , const char * from ) { AdjacencyList_t * node = makeAdjacencyList ( from ) ; if ( graph -> head != NULL ) { node -> next = graph -> head ; } graph -> head = node ; }
FUNCTION NAME: addAdjacencyList
 DESCRIPTION:
 Function adds a node as a head to adjacency list.
FUNCTION NAME : addAdjacencyList DESCRIPTION : Function adds a node as a head to adjacency list .