Adding threshold value support for sankey diagram.