Internal: save_single_plot Helper function to save a single DiagrammeR plot based on the file extension
Useful links