#NEWLINE# def getStructureOrganisationTupleList( self ) : #NEWLINE# #INDENT# highVal = 0 #NEWLINE# for ( key , value ) in self . levelCounter . items ( ) : #NEWLINE# #INDENT# print ( key ) #NEWLINE# if ( value > key ) : #NEWLINE# #INDENT# highVal = value #NEWLINE# #UNINDENT# #UNINDENT# highValOffset = ( ( highVal / 2 ) * self . spacing ) #NEWLINE# orgList = [ ] #NEWLINE# for ( key , value ) in self . levelCounter . items ( ) : #NEWLINE# #INDENT# if ( value != highVal ) : #NEWLINE# #INDENT# levelOffsetValue = ( highValOffset - ( ( value / 2 ) * self . spacing ) ) #NEWLINE# orgList . append ( ( ( 'level' + str ( key ) ) , levelOffsetValue , 0 ) ) #NEWLINE# #UNINDENT# #UNINDENT# return orgList