/// <summary>
            /// ######## ########## ### ########### ########-######### ######.
            /// </summary>
            /// <param name="userConnection">################ ###########.</param>
            /// <param name="entityName">######## ##### ########.</param>
            /// <param name="elementId">############# ########.</param>
            /// <returns>########## # ########-######### ###### ########## ########.</returns>
            public static ElementInfo GetServiceModelElementDiagram(UserConnection userConnection, string entityName,
                                                                    Guid elementId)
            {
                _userConnection = userConnection;
                var element = new ElementInfo(entityName, elementId);

                element.FillInfo();
                element.FillRelationsInfo();
                foreach (var item in element.DependenceElements.Concat(element.InfluenceElements))
                {
                    item.FillRelationsInfo(element.ServiceItems, element.ConfItems);
                }
                return(element);
            }