         composedConfig.templateId = templateId
         composedConfig.transactionGroupId = transactionGroupId if linkedToData?
         composedConfig.instanceId = instanceId
-
+        composedConfig.eventType = config.eventType
         instanceMap[instanceId] = composedConfig
 
     return instanceMap

      nodeLinks = _.filter links, from: config.nodeUuid
      templateLinks = config.linkedTo
      linkedTo = []
      eventLinks = {}

      if config.linkedToInput
        result[config.nodeUuid] ?=


      if config.linkedToNext
        _.each nodeLinks, (link) =>
          prevNanocytes = _.filter instanceMap, nodeUuid: link.to, linkedToPrev: true
          _.each prevNanocytes, (nanocyte) =>
            if config.eventType == 'configure'
              eventLinks['configure.sent'].push nanocyte.instanceId
            else
              eventLinks['broadcast.sent'].push nanocyte.instanceId
              eventLinks['message.received'].push nanocyte.instanceId


      _.each config.linkedTo, (templateLinkId) =>
        _.each instanceMap, (data, key) =>
