code: def visitalias(self, node):
      name = node.asname if node.asname else node.name
  
      if "." in name:
          name = name.split(".", 1)[0]
  
      if not self.graph.has_node(name):
          self.graph.add_node(name)
  
      return {name}
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ...asttools import Visitor, visit_children
  import _ast
  from ...asttools.visitors.symbol_visitor import get_symbols
label_desc: Use image node_id 3 for calling the CollectNodes obj's underlying member method code with example usage: obj.visitalias(node) and returns: unknown