When trying to insert an edge in a compound from an existing input port to a non-existing output port (e.g. cmpt = Graph.addEdge({ from: @someInput, to: '@invalidOutput' }, cmpt), the following error is thrown by Graphtools:
Error: The target node "#comp_1" does not have the ingoing port "invalidOutput".
I expected the following error:
Error: The target node "#comp_1" does not have the outgoing port "invalidOutput".
Edit: The error is thrown from here: https://github.com/BuggyOrg/graphtools/blob/master/src/graph/edge.js#L69