remove DiGraph