When nodes are assigned to cells inside swim lanes, the assignment is a mere visual one. This means a new layout will cause loss of this assignment. It would make more sense to treat the individual rows/columns/cells of swimlanes as groups. The swimlanes are then just a visual wrapper for these groups.