parameters: (parent, **kwargs)
return_statement: return child
docstring: Create a node and attach it to the provided graph
docstring_summary: Create a node and attach it to the provided graph
docstring_tokens: Create a node and attach it to the provided graph
function: def Node(parent, **kwargs):
      """Create a node and attach it to the provided graph"""
      name = "undefined"
      if kwargs == None:
              kwargs = {}
      elif "name" in kwargs:
          name = kwargs["name"]
          del kwargs["name"]
  
      child = parent.createChild(name)
      for k in kwargs:
          data = child.getData(k)
          if data != None:
              data.value = kwargs[k]
      return child
function_tokens: def Node ( parent , * * kwargs ) : name = "undefined" if kwargs == None : kwargs = { } elif "name" in kwargs : name = kwargs [ "name" ] del kwargs [ "name" ] child = parent . createChild ( name ) for k in kwargs : data = child . getData ( k ) if data != None : data . value = kwargs [ k ] return child