In quality assurance an affinity diagram is used to generate ideas that can be linked to form organized patterns of thought about a problem. Using them in project management, one can enhance the creation of the WBS by using it to give structure to the decomposition of scope.