remove a graph and its directive. duplicate content