[Olena-patches] 2123: Misc. fixes in graph and line graph entities.