Implemented line graph