You are right. Same problem I use to have at beginning when I started using Activiti Designer. I guess, in current Implementation of designer not supporting synchronization between diagram and xml file. Its better to draw diagram first, save it and then open xml file. If some changes required then close xml and do modification. This is the workaround I use to do.