Skip to content
Snippets Groups Projects

Develop

Merged Peter Zhai requested to merge develop into master
1 file
+ 44
22
Compare changes
  • Side-by-side
  • Inline
+ 44
22
@@ -214,31 +214,38 @@ var cqhm = cqhm || {};
this._pallettes[systemDynamicsPaletteId].graph.addCells([
new cqhm.modelTypes.Stock({
position: { x: 10, y: 5 },
size: { width: 80, height: 40 }
size: { width: 80, height: 40 },
z : 0
}),
new cqhm.modelTypes.Cloud({
position: { x: 30, y: 60 },
size: { width: 80, height: 60}
size: { width: 80, height: 60},
z : 0
}),
new cqhm.modelTypes.Flow({
source: {x: 20, y:150},
target: {x: 170, y:150}
target: {x: 170, y:150},
z : 0
}),
new cqhm.modelTypes.CausalConnectionPositive({
source: {x: 20, y:200},
target: {x: 170, y:200}
target: {x: 170, y:200},
z : 0
}),
new cqhm.modelTypes.CausalConnectionNegative({
source: {x: 20, y:230},
target: {x: 170, y:230}
target: {x: 170, y:230},
z : 0
}),
new cqhm.modelTypes.Parameter({
position: { x: 120, y: 35 },
size: { width: 20, height: 20 }
size: { width: 20, height: 20 },
z : 0
}),
new cqhm.modelTypes.DynamicVariable({
position: { x: 120, y: 75 },
size: { width: 20, height: 20 }
size: { width: 20, height: 20 },
z : 0
})
]);
@@ -250,31 +257,38 @@ var cqhm = cqhm || {};
this._pallettes[agentPaletteId].graph.addCells([
new cqhm.modelTypes.Parameter({
position: { x: 25, y: 35 },
size: { width: 20, height: 20 }
size: { width: 20, height: 20 },
z : 0
}),
new cqhm.modelTypes.Event({
position: { x: 100, y: 25 },
size: { width: 15, height: 25 }
size: { width: 15, height: 25 },
z : 0
}),
new cqhm.modelTypes.DynamicEvent({
position: { x: 25, y: 85 },
size: { width: 25, height: 25 }
size: { width: 25, height: 25 },
z : 0
}),
new cqhm.modelTypes.Agent({
position: { x: 25, y: 150 },
size: { width: 50, height: 90 }
size: { width: 50, height: 90 },
z : 0
}),
new cqhm.modelTypes.Image({
position: { x: 80, y: 150 },
size: { width: 50, height: 50 }
size: { width: 50, height: 50 },
z : 0
}),
new cqhm.modelTypes.Comment({
position: { x: 80, y: 200 },
size: { width: 50, height: 50 }
size: { width: 50, height: 50 },
z : 0
}),
new cqhm.modelTypes.Variable({
position: { x: 120, y: 100 },
size: { width: 20, height: 20 }
size: { width: 20, height: 20 },
z : 0
})
]);
@@ -291,35 +305,43 @@ var cqhm = cqhm || {};
// }),
new cqhm.modelTypes.StatechartEntryPoint({
source: { x: 120, y: 15 },
target: { x: 120, y: 90 }
target: { x: 120, y: 90 },
z : 0
}),
new cqhm.modelTypes.State({
position: { x: 10, y: 70 },
size: { width: 80, height: 40 }
size: { width: 80, height: 40 },
z : 0
}),
new cqhm.modelTypes.StateTransition({
source: {x: 20, y:130},
target: {x: 170, y:130}
target: {x: 170, y:130},
z : 0
}),
new cqhm.modelTypes.Branch({
position: { x: 10, y: 160 },
size: { width: 80, height: 40 }
size: { width: 80, height: 40 },
z : 0
}),
new cqhm.modelTypes.StateTransitionTrue({
source: {x: 20, y:190},
target: {x: 170, y:190}
target: {x: 170, y:190},
z : 0
}),
new cqhm.modelTypes.StateTransitionFalse({
source: {x: 20, y:210},
target: {x: 170, y:210}
target: {x: 170, y:210},
z : 0
}),
new cqhm.modelTypes.FinalState({
position: { x: 25, y: 240 },
size: { width: 15, height: 15 }
size: { width: 15, height: 15 },
z : 0
}),
new cqhm.modelTypes.InitialStatePointer({
source: { x: 120, y: 250 },
target: { x: 120, y: 300 }
target: { x: 120, y: 300 },
z : 0
})
]);
Loading