add discretemapper for relation edge type