An effort is made to develop a computer programme using C++ to explain the working ofa adjacency linked-list representation of a directed graph or digraph and explain the allocation ofdata using C++. The program uses the concept of arranging a graph in the form of a linked list forthe computer to understand the graphical form representation of any data. The graph algorithms area significant field of interest within computer science. Typical higher level operations associatedwith graphs are; finding a path between two nodes, like depth-first search and breadth-first searchand finding the shortest path from one node to another, like Dijkstra's algorithm. A solution tofinding the shortest path from each node to every other node also exists in the form of the Floyd-Warshall algorithm. A directed graph can be seen as a flow network, where each edge has acapacity and each edge receives a flow. The Ford-Fulkerson algorithm is used to find out themaximum flow from a source to a sink in a graph. Conversion of a graph into a computer storabledigital data is useful for nanodevices.