Class draw2d.ConnectionRouter
Object
|
+--draw2d.ConnectionRouter
-
Direct Known Subclasses:
-
draw2d.BezierConnectionRouter, draw2d.NullConnectionRouter, draw2d.ManhattanConnectionRouter
- class
draw2d.ConnectionRouter
Routes a draw2d.Connection, possibly using a constraint.
Version: 0.9.14
Author: Andreas Herz
Defined in ConnectionRouter.js
|
Field Summary |
Object |
type
|
type
Object type
draw2d.ConnectionRouter
draw2d.ConnectionRouter()
Version: 0.9.14
Author: Andreas Herz
getDirection
Object getDirection( r, p)
Returns the direction the point p is in relation to the given rectangle.
Possible values are LEFT (-1,0), RIGHT (1,0), UP (0,-1) and DOWN (0,1).
Returns:
the direction from r to p
getEndDirection
Object getEndDirection( conn)
getStartDirection
Object getStartDirection( conn)
route
void route( connection)
Parameters:
connection - The Connection to route
Documentation generated by
JSDoc on Thu Feb 7 23:45:47 2008