Functions related to paramfnk work on graphs and funcs.