Graph

Graph

Graphs are used to represent a lot of things in computers.

Graphs have “nodes”:

node

Graphs have “edges”:

edge

Nodes can connect to edges, but nodes can’t connect to nodes, and edges can’t connect to edges

example

Graphs can represent many things.