Added data functionality to arc and vertex