   #     myGraph.addInitialIndex 'somefile.txt', 'Read', 'source', 2
   #
   # If inports are defined on the graph, IIPs can be applied calling
-  # the `addInportInitial` or `addInportInitialIndex` methods.
-  #
-  #     myGraph.addInportInitial 'somefile.txt', 'file'
-  #     myGraph.addInportInitialIndex 'somefile.txt', 'file', 2
+  # the `addGraphInitial` or `addGraphInitialIndex` methods.
+  #
+  #     myGraph.addGraphInitial 'somefile.txt', 'file'
+  #     myGraph.addGraphInitialIndex 'somefile.txt', 'file', 2
   #
   # Adding an IIP will emit a `addInitial` event.
   addInitial: (data, node, port, metadata) ->

  #
  #     myGraph.removeInitial 'Read', 'source'
  #
  # If the IIP was applied via the `addInportInitial` or
  # `addInportInitialIndex` functions, it can be removed using
  # the `removeInportInitial` method.
  #
  #     myGraph.removeInportInitial 'file'
  #
  # Remove an IIP will emit a `removeInitial` event.
  removeInitial: (node, port) ->


    @checkTransactionEnd()

  removeGraphInitial: (node) ->
    inport = @inports[node]
    return unless inport
    @removeInitial inport.process, inport.port
