add: line graph compatibility with new node format