Skip to content

Tool to create Graphs in the browser and compile it to LaTeX

License

Notifications You must be signed in to change notification settings

maxloeffler/Graph_to_LaTeX

Repository files navigation

Universal Code to create Graphs and convert them to LaTeX. Making use of the LaTeX library tikz.

Usage

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-up screen

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.

creating a graph

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!

Setup

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:

graph in latex

Clarifications

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!

About

Tool to create Graphs in the browser and compile it to LaTeX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published