Edge converted from struc to class