@ -63,9 +63,8 @@ function Network (container, data, options) {
this.body={
this.body={
nodes:{},
nodes:{},
nodeIndices:[],
nodeIndices:[],
supportNodes:{},
supportNodeIndices:[],
edges:{},
edges:{},
edgeIndices:[],
data:{
data:{
nodes:null,// A DataSet or DataView
nodes:null,// A DataSet or DataView
edges: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.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.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.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.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
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) {