Ignore:
Timestamp:
Sep 18, 2010, 7:06:00 PM (11 years ago)
Author:
matkovic
Message:

-Added Pathfinding (experimental)
-Dijkstra algorithm added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/View/Converter/ConnectorBindingConverter.cs

    r1760 r1923  
    2525            {
    2626                case ConnectorOrientation.West:
    27                     return new Point(X , Y + Height / 2);
     27                    return new Point(X-3 , Y + Height / 2);
    2828                case ConnectorOrientation.East:
    29                     return new Point(X + Width, Y + Height / 2);
     29                    return new Point(X + Width +3, Y + Height / 2);
    3030                case ConnectorOrientation.North:
    31                     return new Point(X + Width / 2, Y);
     31                    return new Point(X + Width / 2, Y-3);
    3232                case ConnectorOrientation.South:
    33                     return new Point(X + Width / 2, Y + Height);
     33                    return new Point(X + Width / 2, Y + Height+3);
    3434            }
    3535
Note: See TracChangeset for help on using the changeset viewer.