code: def sfd_to_path_list(single, replace_with_prev=False):
      """Converts the given SFD glyph into a path."""
      return _spline_to_path_list(
          _get_spline(single["sfd"]),
          single["vwidth"],
          replace_with_prev,
      )
  
imports: import io
  import numpy
  from PIL import Image
  from six.moves import zip_longest
  from skimage import draw
  import tensorflow.compat.v1
label_desc: Use image node_id 5 for calling a global function with example usage: sfd_to_path_list(single, replace_with_prev) and returns: _spline_to_path_list