moved edge type conversion into model's parse since that makes way more sense and catches more cases