code: def block_to_svg(block=None):
      
      block = working_block(block)
      try:
          from graphviz import Source
          return Source(block_to_graphviz_string())._repr_svg_()
      except ImportError:
          raise PyrtlError('need graphviz installed (try "pip install graphviz")')
docs: Return an SVG for the block.