EdgeND usage in Metis 5.0

We were using the Metis 4.0 API, and making two calls - one each to METIS_EdgeND and METIS_NodeND, each with the default options (i.e. options[0] = 0). I've looked at the user manual and internals of ometis.c in both 4.0 and 5.0.2, but am unsure as to how to exactly replicate this functionality under the new merged METIS_NodeND function. I'm guessing I need to change some of the options like CTYPE and RTYPE (and maybe IPTYPE), but it's not clear to me what the right values are for each - can someone please help me out by providing the correct set of options to duplicate the behavior of each of the old functions?

Unfortunately, it's essential that we switch over to 5.0.2 due to our use of ParMetis 3.2 in some new code we're integrating (and thus we've run into a problem with the inability to link against both 4.0 and 5.0.2 in the same executable).