Update the `diagrams` tool with an option for printing/omitting external entities