parameters: (self, cls, name, *args, **kw)
return_statement: return m
docstring: Add a node of type cls to the graph if it does not already exist
          by the given name
docstring_summary: Add a node of type cls to the graph if it does not already exist
          by the given name
docstring_tokens: Add a node of type cls to the graph if it does not already exist by the given name
function: def createNode(self, cls, name, *args, **kw):
          """
          Add a node of type cls to the graph if it does not already exist
          by the given name
          """
          m = self.findNode(name)
          if m is None:
              m = cls(name, *args, **kw)
              self.addNode(m)
          return m
function_tokens: def createNode ( self , cls , name , * args , * * kw ) : m = self . findNode ( name ) if m is None : m = cls ( name , * args , * * kw ) self . addNode ( m ) return m