Add two new predicates, `directory/2-3`, to the `diagrams` tool for generating diagrams for all (loaded) source files from a given directory