Make helper line graph functions explicitly private.
Add comment about line graph requiring sortable nodes in G.