Refactoring of the `diagrams` tool to move processing of the `relation_labels/1` option from the graph languages to the diagrams entities