lwallenstein (owner)

Revisions

gist: 213048 Download_button fork
public
Public Clone URL: git://gist.github.com/213048.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
Method: onClick
 
Performs all calculations and animation when clicking on a label specified by _id_. The label id is the same id as its homologue node.
*/
 
 
 
onClick: function(id) {
that = this;
if($("#" + id).children("span").hasClass("tier_3")){
;
}else{
var pos = that.graph.getNode(id).pos.toComplex();
that.move(pos);
}
},