Identifying functions from graphs