[log] Move GraphElement comparator to PrintElementsManager.
[log] Create CascadeLinearGraphController.
[log] Create BaseLinearGraphController.
~~ VisibleGraphImpl.java fix