Universal Code to create Graphs and convert them to LaTeX. Making use of the LaTeX library tikz.
Clone this git repository to your local machine. Execute the index.html
file using your browser. You get prompted with the UI of GtL.
Start creating your Graph. Buttons under Drawing Functionality provide you with objects like circles or rectangels to add to your Graph. Buttons under Editing Functionality allow you to change basic properties of the graph like grid alignment. Buttons under Visual Functionality give you visual customizability like switching between light and dark mode.
When you are done you can export your Graph to a file using the Safe Graph to File
button, or click the LaTeX button to copy the LaTeX code of your Graph directly to your clipboard!
Include the tikz library in your .tex file
\usepackage{tikz}
Now you can just paste your LaTeX code in. The result should look as follows:
The code base is constantly maintained so make sure to pull changes from time to time to get the best possible experience. If you found some unknown bugs make sure to report them to [email protected].
Thank you for using GtL!