New kind of router available

The new interactive routing tools have been added for better handling of crossings and routing conflict. You can install the router as default router for all new generated connections with the code snipped below.


// Override the default implementation of connection creation with your own method
//
draw2d.Connection.createConnection=function(sourcePort, targetPort, callback, dropTarget){
    var conn= new draw2d.Connection();
    conn.setRouter(new draw2d.layout.connection.InteractiveManhattanConnectionRouter());
    return conn;
};



blogEntryTopper