   graph: null
   # Start-up timestamp for the network, used for calculating uptime
   startupDate: null
-  portBuffer: {}
 
   # All NoFlo networks are instantiated with a graph. Upon instantiation
   # they will load all the needed components, instantiate them, and

    @emit 'start',
      start: @startupDate

  checkIfStarted: ->
    return if @isRunning()
    @setStarted true

  checkIfFinished: ->
    return unless @isRunning()
    unless @debouncedEnd
      @debouncedEnd = utils.debounce =>
        @setStarted false

      @emit 'process-error', event

  subscribeNode: (node) ->
    node.component.on 'deactivate', (load) =>
      return if load > 0
      @checkIfFinished()
