O'Reilly logo
  • Francesco Pessolano thinks this is interesting:

Both nodes and edges can carry additional attributes in the form of a Python dictionary, which help in describing the semantics of the network.

From

Cover of Mastering Social Media Mining with Python

Note

This is wrong, raises an error on argument count, it requires attr_dict= to be explicit (python36 via pycharm on Win10)