Check the growing ecosystem around PlantUML, a textual UML tool to easily create and embed graphical UML diagrams wherever you need them.