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