def add_edges_from(self, ebunch, **kwargs):
        for edge in ebunch:
            self.add_edge(*edge, **kwargs)
Add all the edges in ebunch.
dataset/ETHPy150Open pgmpy/pgmpy/pgmpy/base/UndirectedGraph.py/UndirectedGraph.add_edges_from