added graph for extracted documents