I wrote code below to show graph with igraph package, But I don't know How can I export igraph result in csv file in python? and my another question is how can I add label?
import igraph as ig
import pandas as pd
g=ig.Graph.TupleList(df.itertuples(index=False),directed=True)
ig.plot(g, target='graph.png', vertex_size=10, bbox=(0, 0, 500, 500))