@ahmetgundogdu wrote:
Hi, how to connect the start of a drawing process to a key.
My nodes is " fromPort:go.Spot.AllSides", "toPort:go.Spot.AllSides",
It is a bit troublesome to start drawing in this situation.When dragging starts, press a key --> shift
for example:goJSDefaultMovingNodeFunc(event,node){
if(event.pressKey==shift)
{
//start link draw func..
}
else
..move}
i can ovverride default move function and start linkingTool
Posts: 2
Participants: 2