Gravar-mail: Recognizing Planar Rigid and Non-Rigid Wire-Shapes