Constraints in object-oriented graphics door