streamgraph api with a new max tf measurement