code: def _option_graph2use(arg):
      return directives.choice(
          arg, ("hierarchical", "colored", "flat", "orig", "exec")
      )
  
imports: import sys
  import os
  import shutil
  import io
  import re
  import textwrap
  from os.path import relpath
  from errno import EEXIST
  import traceback
label_desc: Use image node_id 2 for calling a global function with example usage: _option_graph2use(arg) and returns: directives