Mental Model
A graph is a way to connect points (called vertices) with lines (called edges). These connections can have directions and weights.
Analogy: Think of a city map where intersections are vertices and roads are edges. Some roads go one way (directed), some both ways (undirected), and some roads are longer or shorter (weighted).
Vertices: A, B, C, D
Edges:
A -> B (directed)
B ↔ C (undirected)
C -> D (directed, weight 5)
A -> B
↘
C ↔ D
Weights shown as numbers on edges if any.