add EdgeWeightedDigraph.from_igraph static method