protected virtual void OnConnectorAdded(ConnectorModel obj)
{
RegisterConnector(obj);
var handler = ConnectorAdded;
if (handler != null) handler(obj);
//Check if the workspace is loaded, i.e all the nodes are
//added to the workspace. In that case, compute the Upstream cache for the
//given node.
if (workspaceLoaded)
{
obj.End.Owner.ComputeUpstreamOnDownstreamNodes();
}
}