#NEWLINE# def connectionMetaDict( self ) : #NEWLINE# #INDENT# '\n        Returns a dictionary containing meta information for each of the draw\n        edges in the scene.\n        ' #NEWLINE# connectionMetaDict = dict ( ) #NEWLINE# connections = [ n for n in self . items ( ) if ( type ( self ) == DrawEdge ) ] #NEWLINE# for c in connections : #NEWLINE# #INDENT# if ( ( not c . sourceDrawNode ( ) ) or ( not c . destDrawNode ( ) ) ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# connectionString = ( '%s|%s' % ( str ( c . sourceDrawNode ( ) . dagNode . uuid ) , str ( c . destDrawNode ( ) . dagNode . uuid ) ) ) #NEWLINE# connectionMetaDict [ connectionString ] = dict ( ) #NEWLINE# connectionMetaDict [ connectionString ] [ 'horizontalConnectionOffset' ] = str ( c . horizontalConnectionOffset ) #NEWLINE# #UNINDENT# return connectionMetaDict