summaryrefslogtreecommitdiff
path: root/scripts/model/graph.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/model/graph.js')
-rw-r--r--scripts/model/graph.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/model/graph.js b/scripts/model/graph.js
index 42c01135..ec35c47e 100644
--- a/scripts/model/graph.js
+++ b/scripts/model/graph.js
@@ -10,7 +10,7 @@ function Graph(el) {
///FUNCTIONS
this.addNode = function(id, type, state) {
- var new_node = this.addNodeNoHistory(
+ var new_node = this._addNodeNoHistory(
{id:id,
name:id,
type:type,
@@ -24,7 +24,7 @@ function Graph(el) {
}
}
- this.addNodeNoHistory = function(spec) {
+ this._addNodeNoHistory = function(spec) {
// No history recorded - this is a helper for loading from files / constant graphs
var id = spec.id.toString().toLowerCase();
var node = findNode(id, null);
@@ -429,7 +429,7 @@ function Graph(el) {
}
for(i = 0; i < data["nodes"].length; i++){
node = data.nodes[i];
- this.addNodeNoHistory({id:node.id, name:node.name ? node.name : node.id,
+ this._addNodeNoHistory({id:node.id, name:node.name ? node.name : node.id,
type:node.type,state:"perm",
start:new Date(node.start),
end:new Date(node.end),