[log] Create LinearGraphUtils.
[log] LinearGraph.getNodeIndexById int -> Integer.
[log] Migrate EdgesInRowGenerator to new LinearGraphApi.
[log] Extract GraphElementComparatorByLayoutIndex.
[log] Refactoring PrintElementGeneratorImpl.
[log] Some test refactorings.