draw
copy svg
newNode([ {name:'a', text:'begin', type:Rect, args:{roundCorner:10}}, {name:'b', text:'condition?', type:Diamond}, {name:'c', text:'end', type:Rect, args:{roundCorner:10}}, ]); newLine([ {from:'a', to:'b'}, {from:'b', to:'c'}, ]);