implement the analze failed graph