triang_formatter: formatting result triangle data