def nodeOutputDataPacket(self, dagNode, output):
        if dagNode is None:
            return None
        
        # Retrieve specialized output types
        specializationDict = dict()
        for output in dagNode.outputs():
            specializationDict[output.name] = self.nodeOutputType(dagNode, output)
        # TODO: sceneGraphHandle should not return an array - it should take a single output.
        return dagNode.sceneGraphHandle(specializationDict)[0]


    ###########################################################################
    ## Helpers
    ###########################################################################
Given a node and its output, return the DataPacket coming out of it.
dataset/ETHPy150Open andrew-gardner/dependsworkflow/depends/depends_dag.py/DAG.nodeOutputDataPacket