Graph Embeddings via Tensor Products and Approximately Orthonormal Codes