custom graph min max