G3 = DiGraph({1:[2],2:[3,4,5],4:[2,5],5:[2,4]})
G3.plot()
G3.adjacency_matrix()