Question: what are nodes and edges in a graph?
Answer: Graph Edge. For an undirected graph, an unordered pair of nodes that specify a line joining these two nodes are said to form an edge. For a directed graph, the edge is an ordered pair of nodes.