

def add_node(self, node, **kwargs):
    "\n        Add a single node to the Graph.\n\n        Parameters\n        ----------\n        node: node\n            A node can be any hashable Python object.\n\n        Examples\n        --------\n        >>> from pgmpy.base import UndirectedGraph\n        >>> G = UndirectedGraph()\n        >>> G.add_node('A')\n        "
    super(UndirectedGraph, self).add_node(node, **self)

dataset/ETHPy150Open pgmpy/pgmpy/pgmpy/base/UndirectedGraph.py UndirectedGraph.add_node/VarMisuse@29/143 `kwargs`->`self`