Support for  Directed Graph