The DGML Editor was not available in Visual Studio 2017 by default so I could not see DGML files visually and only saw them in the xml format.
I had to fix this by explicitly installing the DGML editor.
Please install it as such:
(Tools > Get tools and features... > Individual Component > Code tools > DGML Editor)