Introduction to Graphs
Data structure using C - Module 5
Reference -
https://www.log2base2.com/data-structures/graph/adjacency-matrix-representation-of-graph.html Ashwini Kumar Mathur
,Overview of Graphs
,Graphs
Graphs are mathematical structures or Common data structure that represent pairwise relationships between
objects. A graph is a flow structure that represents the relationship between various objects. It can be
visualized by using the following two basic components:
● Nodes/Vertices: These are the most important components in any graph. Nodes/Vertices are entities
whose relationships are expressed using edges. If a graph comprises 2 nodes A and B and an undirected
edge between them, then it expresses a bi-directional relationship between the nodes and edge.
● Edges: Edges are the components that are used to represent the relationships between various nodes in
a graph. An edge between two nodes expresses a one-way or two-way relationship between the nodes
, Example ..
Data structure using C - Module 5
Reference -
https://www.log2base2.com/data-structures/graph/adjacency-matrix-representation-of-graph.html Ashwini Kumar Mathur
,Overview of Graphs
,Graphs
Graphs are mathematical structures or Common data structure that represent pairwise relationships between
objects. A graph is a flow structure that represents the relationship between various objects. It can be
visualized by using the following two basic components:
● Nodes/Vertices: These are the most important components in any graph. Nodes/Vertices are entities
whose relationships are expressed using edges. If a graph comprises 2 nodes A and B and an undirected
edge between them, then it expresses a bi-directional relationship between the nodes and edge.
● Edges: Edges are the components that are used to represent the relationships between various nodes in
a graph. An edge between two nodes expresses a one-way or two-way relationship between the nodes
, Example ..