-
Notifications
You must be signed in to change notification settings - Fork 0
Graphs: What are graphs
Devrath edited this page Mar 10, 2024
·
4 revisions
- Graphs are used anywhere you want to model the relationships between a bunch of objects.
- Some examples are,
- Routers in a network.
- People on a social media platform.
- Basically, Graphs are used to represent connected objects. We can see how the objects are connected and how strong the connections are.
- Graph consists of
- Nodes
- Edges
- A tree is a kind of graph. A graph without cycles.
Undirected Graph |
Directed Graph |
Weighted |
|---|---|---|
![]() |
![]() |
![]() |


