Add node Create a node Add connector canvas.dview.setAttribute('modeFlag', 'ADD_CONNECTOR'); canvas.dview.pclickednode = null; Create an edge Delete selected Delete selection canvas.model.upload(canvas.kServer); //make a window with a progress bar var win = new kpane(canvas, {height: 568, width: 822, align: "center", y:80, paneTitle: "Loading ATM Prototype ..."}); var ld = new loading(win, {duration:8000, x: win.width/2-93, y: 80}); ld.start(); //make a copy of the library loader var z = canvas.clone(canvas.atmswf, canvas, "atmswfcopy"); this.del = new LzDelegate( z, "load" ); LzTimer.addTimer( this.del, 8000 ); this.del2 = new LzDelegate(win, "destroy"); LzTimer.addTimer(this.del2, 8000); Play your UI Demo Share SWF