Underleaf Logo
Underleaf
BlogPricing
Log InTry Free

Learn TikZ

Getting Started

  • What is TikZ?
  • TikZ for Beginners
  • Basic Setup

Graphs in TikZ

Create network diagrams, graph theory visualizations, and connected node structures.

Basic Graph with Manual Positioning

Directed Graph (Digraph)

Weighted Graph

Using the Graphs Library

Circular Layout

Bipartite Graph

State Machine / Automaton

Social Network Style Graph

Curved Edges and Self-Loops

Layered Graph

Next Steps

Continue learning TikZ diagrams:

  • Mind Maps - Concept mapping diagrams
  • Trees - Hierarchical tree structures
  • Circuit Diagrams - Electronic circuits

Try it free

Sketch it — AI draws the TikZ.

Upload a photo of a hand-drawn diagram, flowchart, or plot and Underleaf generates the TikZ code for you. 10 free credits every month, no credit card required.

Convert your diagram
A hand-drawn sketch converted into a clean TikZ diagram

Graphs in TikZ

Create network diagrams, graph theory visualizations, and connected node structures.

Basic Graph with Manual Positioning

Directed Graph (Digraph)

Weighted Graph

Using the Graphs Library

Circular Layout

Bipartite Graph

State Machine / Automaton

Social Network Style Graph

Curved Edges and Self-Loops

Layered Graph

Next Steps

Continue learning TikZ diagrams:

Underleaf Logo
Underleaf

Empowering students and researchers with AI-powered tools for academic writing.

Go to appContact us

Company

PricingBlogTutorialsConference TemplatesConference Deadlines

Free Tools

Image to LaTeXExcel to LaTeXArXiv to LaTeXTikZ GeneratorLaTeX Table GeneratorCitation GeneratorThesis GeneratorChrome ExtensionAll Tools

© 2026 Underleaf. All rights reserved.