Use PlantUML in draw.io

PlantUML lets you specify your UML diagrams in a text format, which is quite a handy shortcut for programmers. draw.io allows you to insert PlantUML and Graphviz DOT code and automatically adds the diagram image to the drawing area.