code: def generate_notail_notext_versions(fn_source, output_dir):
      for ver in versions:
          properties = svg_sizes[ver]
  
          doc = load_svg(fn_source)
  
          (notail, notext) = versionkey_to_boolean_tuple(ver)
  
          g_tail = searchElementById(doc, "SnakeTail", "g")
          if notail:
              g_tail.setAttribute("display", "none")
  
          g_text = searchElementById(doc, "SymPy_text", "g")
          if notext:
              g_text.setAttribute("display", "none")
  
          g_logo = searchElementById(doc, "SympyLogo", "g")
          dx = properties["dx"]
          dy = properties["dy"]
          transform = "translate(%d,%d)" % (dx, dy)
          g_logo.setAttribute("transform", transform)
  
          svg = searchElementById(doc, "svg_SympyLogo", "svg")
          newsize = properties["size"]
          svg.setAttribute("width", "%d" % newsize)
          svg.setAttribute("height", "%d" % newsize)
  
          title = svg.getElementsByTagName("title")[0]
          title.firstChild.data = properties["title"]
  
          desc = svg.getElementsByTagName("desc")[0]
          desc.appendChild(
              doc.createTextNode(
                  "\n\nThis file is generated from %s !" % fn_source
              )
          )
  
          fn_out = get_svg_filename_from_versionkey(fn_source, ver)
          fn_out = os.path.join(output_dir, fn_out)
          save_svg(fn_out, doc)
  
file_path: sympy/doc/generate_logos.py
imports: from argparse import ArgumentParser
  import xml.dom.minidom
  import os.path
  import logging
  import subprocess
  import sys
  from platform import system
label_desc: Use image node_id 2 for calling a global function with example usage: generate_notail_notext_versions(fn_source, output_dir) without return types