       stepUnitsName: unitName
       timeUnitOptions: options
     @codapConnect = CodapConnect.instance 'building-models'
+
+  # From AppSettingsStore actions
+  onDiagramOnly: ->
+    SimulationActions.collapseSimulationPanel()
 
 
   onExpandSimulationPanel: ->

GraphStore   = require('./graph-store').store
Simulation   = require "../models/simulation"
CodapConnect = require '../models/codap-connect'
TimeUnits    = require '../utils/time-units'
tr           = require '../utils/translate'

SimulationActions = Reflux.createActions(
  [

)

SimulationStore   = Reflux.createStore
  listenables: [SimulationActions, AppSettingsActions]

  init: ->
    defaultUnit = TimeUnits.defaultUnit
