Install dot2tex by entering the following commands in the terminal:
sudo apt update sudo apt install dot2tex
Description:
Graphviz to LaTeX converter
The purpose of dot2tex is to give graphs generated by the graph layout tool Graphviz a more LaTeX friendly look and feel. This is accomplished by: . - Using native PSTricks and PGF/TikZ commands for drawing arrows, edges and nodes. - Typesetting labels with LaTeX, allowing mathematical notation. - Using backend specific styles to customize the output.
Homepage: https://github.com/kjellmf/dot2tex
Version: 2.9.0-2.1
Section: universe/graphics