All Subjects
Light
A graph consists of vertices (or nodes) connected by edges. It is a fundamental structure used to model pairwise relations between objects.
congrats on reading the definition of graph. now let's actually learn it.
Vertex: A fundamental unit in a graph representing an entity or node.
Edge: A connection between two vertices in a graph which can be directed or undirected.
Path: A sequence of edges that connects one vertex to another within a graph.