def add_nodes_from(self, nodes, **kwargs):
        for node in nodes:
            self.add_node(node, **kwargs)
Add multiple nodes to the Graph.
dataset/ETHPy150Open pgmpy/pgmpy/pgmpy/base/UndirectedGraph.py/UndirectedGraph.add_nodes_from