convert xcase model to erd model