line graph

Input interpretation

line | skeleton graph