code: def __initialize_node(self, attributes_flags=int(Qt.ItemIsSelectable | Qt.ItemIsEnabled)):
          
  
          attributes = dir(self.__component)
          for attribute in attributes:
              if attribute == "name":
                  continue
  
              if not "_Profile__{0}".format(attribute) in attributes:
                  continue
  
              value = getattr(self.__component, attribute)
              value = ", ".join(value) if type(value) in (tuple, list) else value
              roles = {Qt.DisplayRole: value,
                       Qt.EditRole: value}
              self[attribute] = umbra.ui.nodes.GraphModelAttribute(attribute, value, roles, attributes_flags)
  
          self.update_tool_tip()
docs: Initializes the node.
  
          :param attributes_flags: Attributes flags.
          :type attributes_flags: int