LI graph generation