line graph database