A graph is a mathematical structure that contains a collection of vertices or 'nodes' and a collection of edges that connect pairs of vertices. Graphs can be undirected or directed, edges may be directed from one vertex to another.

- Stackoverflow.com Wiki