Skip to content

Commit

Permalink
Add responses to rename in/outport
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Mar 29, 2018
1 parent 04069f8 commit afc2622
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/protocol/Graph.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,18 @@ class GraphProtocol
#port: port.port
#metadata: port.metadata
@sendAll 'removeoutport', data, context
graph.on 'renameInport', (oldName, newName) =>
data =
from: oldName
to: newName
graph: id
@sendAll 'renameinport', data, context
graph.on 'renameOutport', (oldName, newName) =>
data =
from: oldName
to: newName
graph: id
@sendAll 'renameoutport', data, context

addNode: (graph, node, context) ->
unless node.id or node.component
Expand Down

0 comments on commit afc2622

Please sign in to comment.