Thank you very much for your response
,Once I have Implement above code free lines can be drawn, but node linking function not work anymore.
i have created link created event listener
diagram.addEventListener(Events.linkCreated, onLinkCreated);
and when link button clicked following lines of code will excite
function onSequence()
{
var btnSrc = document.getElementById("sequence").src;
linkDashStyle = DashStyle.Solid;
headShape = "Triangle";
baseShape = null;
headBrush = "#7F7F7F";
document.getElementById("sequence").src = "sequenceOn.png";
document.getElementById("message").src = "messageOff.png";
document.getElementById("association").src = "associationOff.png";
}
what would be the reason, Thanks