Added Directed Graph API