code: def PathCollection(mode="agg", *args, **kwargs):
      """
      mode: string
        - "raw"   (speed: fastest, size: small, output: ugly, no dash,
                   no thickness)
        - "agg"   (speed: medium, size: medium output: nice, some flaws, no dash)
        - "agg+"  (speed: slow, size: big, output: perfect, no dash)
      """
      if mode == "raw":
          return RawPathCollection(*args, **kwargs)
      elif mode == "agg+":
          return AggPathCollection(*args, **kwargs)
      return AggFastPathCollection(*args, **kwargs)
  
imports: from .raw_path_collection import RawPathCollection
  from .agg_path_collection import AggPathCollection
  from .agg_fast_path_collection import AggFastPathCollection
label_desc: Use image node_id 1 for calling a global function with example usage: PathCollection(mode) and returns: AggFastPathCollection, RawPathCollection, AggPathCollection