Moved all convert functions for Graph section