Research indexBook chapter
Graph Analysis
Varga
Apress eBooks1 Jan 2019
NobleIDark:/48914/w1/20260525/96F1CF4DDOI10.1007/978-1-4842-4859-1_10
Graph Analysis
Varga · Apress eBooks · 2019 · Subscription
NobleIDark:/48914/w1/20260525/96F1CF4DDOI10.1007/978-1-4842-4859-1_10
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
A graph is the primary data structure for representing different types of networks (for example, directed, undirected, weighted, signed, and bipartite). Networks are most naturally represented as a set of nodes with links between them. Social networks are one very prominent class of networks. The Internet is the biggest real-world network, easily codified as a graph. Furthermore, road networks and related algorithms to calculate various routes are again based on graphs. This chapter introduces the basic elements of a graph, shows how to manipulate graphs using a powerful Python framework, NetworkX, and exemplifies ways to transform various problems as graph problems. This chapter also unravels pertinent metrics to evaluate properties of graphs and associated networks. Special attention will be given to bipartite graphs and corresponding algorithms like graph projections. We will also cover some methods to generate artificial networks with predefined properties.