public DiagramModelMergeOptions(LayoutInfo info, Guid elementId, Guid domainClassId, Guid shapeDomainClassId)
        {
            // save layout info as string
            this.LayoutInfoString = DiagramsDSLSerializationHelper.Instance.ConvertLayoutInfoToString(info);
            info.Delete();

            this.ElementId = elementId;
            this.DomainClassId = domainClassId;
            this.ShapeDomainClassId = shapeDomainClassId;
        }
        public DiagramModelMergeOptions(LayoutInfo info, Guid elementId, Guid domainClassId, Guid shapeDomainClassId)
        {
            // save layout info as string
            this.LayoutInfoString = DiagramsDSLSerializationHelper.Instance.ConvertLayoutInfoToString(info);
            info.Delete();

            this.ElementId          = elementId;
            this.DomainClassId      = domainClassId;
            this.ShapeDomainClassId = shapeDomainClassId;
        }