code: def _trivialgraph_default_namer(thing, is_edge=True):
      
      if is_edge:
          if thing.name is None or thing.name.startswith('tmp'):
              return ''
          else:
              return '/'.join([thing.name, str(len(thing))])
      elif isinstance(thing, Const):
          return str(thing.val)
      elif isinstance(thing, WireVector):
          return thing.name or '??'
      else:
          try:
              return thing.op + str(thing.op_param or '')
          except AttributeError:
              raise PyrtlError('no naming rule for "%s"' % str(thing))
docs: Returns a "good" string for thing in printed graphs.