The ol.style.FlowLine is a line style to draw LineString with variable colors and widths.
This can be used to display flows maps
or Sankey diagram on a map.
Look at this example to see how to set a width and color function to control the line drawing.
It can be used to display elevation as color on a GPX tracks.