Special embeddings of graphs into a three-dimensional space