diagrams to the documentation of the pattern use examples added