anchor.diff:  		
   	</div>
   
  -	<div id="myfsa"></div>
   	<div id="myfsa1"></div>
  -    
  -	
  +
   
   
   </body>
  
positive.code:         , data: formData
  		, complete: function(jqXHR, textStatus){
  			var res = $.parseJSON(jqXHR.responseText);
  
  
  	Joint.paper("myfsa1", 1000, 200);
  	var fsa = Joint.dia.fsa;
  
  	var cStart = fsa.State.create({ position: {x: 120, y: 120}, label: "Start" });
  	var cEnd = fsa.State.create({ position: {x: 500, y: 120}, label: "End" });
  	var circles = [];
  	var xPos = 300;
  
  	var all = [cStart, cEnd];
  	for(var i = 0; i < res.decisionOrForkOrJoin.length; i++){
  		var circle;
  			circle = fsa.State.create({ position: {x: xPos, y: 50}, label: res.decisionOrForkOrJoin[i].name });
  //		if(res.decisionOrForkOrJoin[i].java !=null){
  //			var java = res.decisionOrForkOrJoin[i].java;
  //		}
  
  		all.push(circle);
  		circles.push(circle);
  		xPos += 100;
  	}
  //	var s2 = fsa.State.create({ position: {x: 300, y: 50}, label: "state 2" });
  
  	
  	cStart.joint(circles[0], fsa.arrow).registerForever(all);
  
  
negative.code: 
  	circles[circles.length - 1].joint(cEnd, fsa.arrow).registerForever(all);
  
  }
  
  $(function() {
  
  	$("#submitButton").click(submitButtonClicked);
  
  }); // End of JQuery Initialization
  
  