Adding the Directed Graph Document