DiGraph: the method .get_node() has changed in the last version of networkx, and it is now called .node