Update the `diagrams` tool to allow simpler references to graph languages