public override int GetHashCode()
        {
            int hashCode = 0;

            if (FromType != null)
            {
                hashCode ^= FromType.GetHashCode();
            }
            if (EdgeInfo != null)
            {
                hashCode ^= EdgeInfo.GetHashCode();
            }

            return(hashCode);
        }