#NEWLINE# def nodeConnectionsIn( self , dagNode ) : #NEWLINE# #INDENT# "\n        Return a list of all the edges going 'in' to a node.\n        Note: Our definition of in and out is flipped from the DAG definition.\n        " #NEWLINE# return [ edge [ 1 ] for edge in self . network . out_edges ( dagNode ) ]