Added functions to retrieve edge/vertex data.