Please disable Adblockers and enable JavaScript for domain CEWebS.cs.univie.ac.at! We have NO ADS, but they may interfere with some of our course material.

Name: orgviz-js/lib/node.js 
1:
var Node = function(id,type,opts) {
2:
    this.type     = type;
3:
    this.id       = id;
4:
    this.rank     = 0;
5:
    this.parents  = [];
6:
    this.group    = 0;
7:
    this.numsubjects = 0;
8:
    this.subjects = [];
9:
    this.twidth   = SVG.width_of(id);
10:
    this.theight  = SVG.height_of(id);
11:
    //new instance variable for all elements of opts
12:
    for (var i in opts) {
13:
      if(opts.hasOwnProperty(i)) eval("this."+i+" = "+opts[i]+";");
14:
    }
15:
 
16:
   /* this.bla = function (bla) {
17:
      bla().toString.
18:
    }
19:
 
20:
    a(function(){
21:
 
22:
  });
23:
  }*/
24:
};