PlantUML: https://plantuml.com/zh
wget http://sourceforge.net/projects/plantuml/files/plantuml.jar plantuml.jar
sudo apt install openjdk-17-jre-headless
sudo apt install graphviz
java -jar plantuml.jar test_uml.txt
@startuml
[First component]
[Another component] as Comp2
component Comp3
component [Last\ncomponent] as Comp4
@enduml