Explore Directed Networks

The directedness of edges dramatically affects almost all network measures and structural elements. Let’s have a look at some affected properties. As an example, let’s use a directed network of the top three preferred migration destinations for each state in 2015, constructed from the United States Census Bureau State-to-State Migration Flows dataset.[56] You can find the Python code for the network construction in the file migrations.py. The picture shows the network sketch (the meaning of the colors will be explained laterhere).

images/migration.png

Degree

Each node in a directed graph G has three degrees: G.in_degree (the number of incoming ...

Get Complex Network Analysis in Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.