igraph: how to use add_edges when there are attributes?,"graph.add_edge('A', 'B', weight=20)"