Set up matplotlib to to generate graphs. Made some changes in the way that the devices are shown with the aggregation node.

matplotlib.org