renaming type, hid and location

renaming 3 of the node/edge params, so they can be used for data names;