added remap nodes and edges function; to integrate lodash to get remapped
inputs