Update the `diagrams` tool fixing missing dependency on the `pairs` library object