Reconstructing linearly embedded graphs: A first step to stratified space learning