code: def render_noderef(self, ontol, n, query_ids=None, **args):
          
          if query_ids is None:
              query_ids = []
          marker = ""
          if n in query_ids:
              marker = " * "
          label = ontol.label(n)
          s = None
          if label is not None:
              s = '{} ! {}{}'.format(n,
                                     label,
                                     marker)
          else:
              s = str(n)
          if self.config.show_text_definition:
              td = ontol.text_definition(n)
              if td:
                  s += ' "{}"'.format(td.val)
          return s
docs: Render a node object