Posts

Showing posts from June, 2022

GRAPH REPRESENTATION

  Representation [ edit ] A graph is an abstraction of relationships that emerge in nature; hence, it cannot be coupled to a certain representation. The way it is represented depends on the degree of convenience such representation provides for a certain application. The most common representations are the visual, in which, usually, vertices are drawn and connected by edges, and the tabular, in which rows of a table provide information about the relationships between the vertices within the graph. Visual: Graph drawing [ edit ] Main article:  Graph drawing Graphs are usually represented visually by drawing a point or circle for every vertex, and drawing a line between two vertices if they are connected by an edge. If the graph is directed, the direction is indicated by drawing an arrow. If the graph is weighted, the weight is added on the arrow. A graph drawing should not be confused with the graph itself (the abstract, non-visual structure) as there are several ways to structure the g