(Note that whether an ActivityParameterNode is for input or output is not determined until at least one ActivityEdge is connected to it.)