this is 80% finished source code of decision tree using jquery raphael and jsplumb