Example #1
0
        public virtual ILink CreateLink(Arrow arrow,
                                        bool keepGroups, bool ignoreArrowDirection)
        {
            if (_links.Contains(arrow))
            {
                return(_links[arrow] as ILink);
            }

            ReversedFCLink result = new ReversedFCLink();

            _links[arrow] = result;
            result.Create(arrow, keepGroups,
                          ignoreArrowDirection, this);

            return(result);
        }
Example #2
0
		public virtual ILink CreateLink(Arrow arrow,
			bool keepGroups, bool ignoreArrowDirection)
		{
			if (_links.Contains(arrow))
				return _links[arrow] as ILink;

			ReversedFCLink result = new ReversedFCLink();
			_links[arrow] = result;
			result.Create(arrow, keepGroups,
				ignoreArrowDirection, this);

			return result;
		}