@ -63,9 +63,8 @@ function Network (container, data, options) {
this.body={
nodes:{},
nodeIndices:[],
supportNodes:{},
supportNodeIndices:[],
edges:{},
edgeIndices:[],
data:{
nodes:null,// A DataSet or DataView
edges:null// A DataSet or DataView
@ -111,7 +110,7 @@ function Network (container, data, options) {
this.view=newView(this.body,this.canvas);// camera handler, does animations and zooms
this.renderer=newCanvasRenderer(this.body,this.canvas);// renderer, starts renderloop, has events that modules can hook into
this.physics=newPhysicsEngine(this.body);// physics engine, does all the simulations
this.layoutEngine=newLayoutEngine(this.body);// TODO: layout engine for initial positioning and hierarchical positioning
this.layoutEngine=newLayoutEngine(this.body);
this.clustering=newClusterEngine(this.body);// clustering api
this.nodesHandler=newNodesHandler(this.body,images,groups,this.layoutEngine);// Handle adding, deleting and updating of nodes as well as global options
@ -123,8 +122,8 @@ function Network (container, data, options) {