UMLGraph allows the declarative specification and drawing of UML class and sequence diagrams. The specification is done in text diagrams,…