SlideShare a Scribd company logo
Solving Graph problems using
Network X
So What’s our Agenda ?
1. Getting to know Graphs
2. Looking at some cool Graphs
3. Playing around with Network X
The Wonderful Story of Graphs
(TL;DR version)
In the beginning someone said …
Let there be nodes.
Nodes remained in isolation for a long time
until a mysterious force said.
Let there be edges. 
- Nodes became Happy at being connected to other Nodes
through edges.
- They wanted to give a name to this Union of nodes and
edges, some mysterious person suggested ‘Graph’ is a cool
name.
So the Nodes and Edges lived happily ever after
THE END
Need More Info?
Wikipedia says “A graph is an ordered pair G = (V, E)
comprising a set V of vertices or nodes together with a
set E of edges. “
V = {1, 2, 3, 4, 5, 6}
E = {{1, 2}, {1, 5}, {2, 3}, {2, 5}, {3, 4}, {4, 5}, {4, 6}}
Some Interesting Graphs
Solving graph problems using networkX
Solving graph problems using networkX
Solving graph problems using networkX
Where else can we see applications of Graphs ?
& More
NetworkX : A friendly Python library
How to Create miserable lonely Nodes ?
That’s how you add Edges!
You Can Multitask , Multi add edges
Just some housekeeping
Generating Graphs are Super Easy !!
Now good luck trying to draw that with hand
This is my favourite . So don’t ask me anything about it 
We can add more details to Node and Edges.
Reading Graphs in other Formats
Matplotlib is not the right tool always
Alternatives for Better Visualization
Let’s try something ambitious now.
A) Read 1 Crore lines of edge information from a dataset
B) And find the node with the highest degree.
C) Calculate how much time it took for loading the graph

More Related Content

PPT
Intellectual property and competition law
PPTX
Theories of IPR.pptx
PDF
Vodafone International Holding Vs Union Of India : Case Study
PPT
Sample copyright case study
PPT
Broadcasting right
PPTX
Surrender and Revocation of Patents
PPTX
3 2 low presentation on Copyright Board & Procedure to obtain copyright
PPTX
Transfer of Property Act, 1882 (powerpoint presentation)
Intellectual property and competition law
Theories of IPR.pptx
Vodafone International Holding Vs Union Of India : Case Study
Sample copyright case study
Broadcasting right
Surrender and Revocation of Patents
3 2 low presentation on Copyright Board & Procedure to obtain copyright
Transfer of Property Act, 1882 (powerpoint presentation)

More from Krishna Sangeeth KS (17)

PPTX
Bringing back Vangogh
PPTX
All things py
PPTX
Up and running with pyspark
PPTX
Intro to BigData , Hadoop and Mapreduce
PPT
Round 1 gnosis
PPTX
Anti Counterfeit System using QR codes and Various other applications
PPTX
Automatic web monitoring & retrieval system
PPTX
Written round
PPTX
Visual connect
PPTX
PPTX
Gnosis quiz 2k10 dry1
PPTX
Choice round
PPTX
Gnosis quiz 2k10 dry1
PPTX
Gnosis Quiz 2k10 Prelims
Bringing back Vangogh
All things py
Up and running with pyspark
Intro to BigData , Hadoop and Mapreduce
Round 1 gnosis
Anti Counterfeit System using QR codes and Various other applications
Automatic web monitoring & retrieval system
Written round
Visual connect
Gnosis quiz 2k10 dry1
Choice round
Gnosis quiz 2k10 dry1
Gnosis Quiz 2k10 Prelims
Ad

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
A Presentation on Artificial Intelligence
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Approach and Philosophy of On baking technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPT
Teaching material agriculture food technology
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
MYSQL Presentation for SQL database connectivity
Chapter 3 Spatial Domain Image Processing.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
A Presentation on Artificial Intelligence
NewMind AI Monthly Chronicles - July 2025
Encapsulation_ Review paper, used for researhc scholars
Approach and Philosophy of On baking technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Advanced methodologies resolving dimensionality complications for autism neur...
Dropbox Q2 2025 Financial Results & Investor Presentation
The AUB Centre for AI in Media Proposal.docx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
Building Integrated photovoltaic BIPV_UPV.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Teaching material agriculture food technology
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
20250228 LYD VKU AI Blended-Learning.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
MYSQL Presentation for SQL database connectivity
Ad

Solving graph problems using networkX