A line graph was constructed to predict the occurrence of postoperative infections by using the five risk predictors of BMI, preoperative AFP, TBIL, intraoperative blood loss, and bile leakage. Here, AFP is linked to infection.