documentation for new diagram package