refinement of multi-line visualization