Implement basic node embedding.