Directed graph embedding