Learn graph vocabulary, build your first diagram in DrawFig in minutes, and export TikZ for LaTeX.
Graph drawing primer — flowcharts & network diagrams from zero
Published: 2026-03-06
Reading time: ~10 minutes
Level: Beginner
What is “graph drawing”?
Graph theory studies structures made of
vertices (nodes) and
edges (links).
Graph drawing turns those abstractions into pictures you can drop into papers, slides, or specs:
- Flowcharts (workflows, algorithms)
- Network diagrams (social graphs, neural sketches)
- Relationship maps (knowledge graphs, org charts)
- Path / state diagrams
Why a dedicated graph tool?
Pain with generic slideware
- Manual alignment is tedious
- Moving one node breaks every connector
- No notion of “optimal layout” for dense graphs
- Hard to feed LaTeX-ready vector sources
What graph-centric editors add
- Auto-layout presets (tree, layered, force, …)
- Smart edges that track vertices
- Algorithmic stories (paths, DAGs, matchings)
- TikZ export for LaTeX workflows
Five-minute first diagram
Step 1 — Open DrawFig
https://drawfig.com
Step 2 — Pick a starter
- Open the Graph (or equivalent) palette
- Choose Blank graph or a Flowchart template
Step 3 — Drop nodes
- Drag from the library or double-click the canvas or press
N (shortcut availability depends on build)
Step 4 — Connect
- Drag connector handles or multi-select with
Shift and use the product’s “connect selection” affordance
Step 5 — Style
- Fill / stroke in the inspector
- Shapes: circle, rectangle, diamond, …
- Edge styles: solid, dashed, arrowheads
- Labels support Unicode + LaTeX snippets when enabled
Step 6 — Layout
Try tree, force-directed, circular, or layered presets to clean crossings.
Core vocabulary
Nodes
Entities in your story — states, actors, processing blocks, …
Typical glyphs: circles (states), rectangles (steps), diamonds (decisions), icons for domain objects.
Edges
Relationships: directed (
A→B), undirected, weighted, coloured, dashed for hypothetical links.
Common graph families
| Type |
Idea |
Typical use |
| Directed |
Arrows show dependency |
Flowcharts |
| Undirected |
Symmetric tie |
Social “knows” graph |
| Weighted |
Numbers on edges |
Routing / cost |
| Tree |
Connected, acyclic |
Org charts |
| Bipartite |
Two colour classes |
Matching / recommendations |
| Complete |
All pairs adjacent |
Toy models |
Case 1 — Login flowchart
Pseudo flow:
Start → Enter credentials → Validate → (OK?) → Success → End
↓ (fail)
Show error → back to input
Build checklist
1. One ellipse (start/end), three rectangles, one diamond
2. Arrow each transition; label “Yes/No” on branches
3. Run
layered layout top-down
4. Colour code: green terminals, blue processes, yellow decision, red dashed error path
Exports: PNG/SVG for slides, TikZ/PDF for papers.
Case 2 — Social tie sketch
- Drop 10–20 circles with initials
- Connect friends; vary stroke width for tie strength
- Apply force-directed layout — dense cliques pull together
- Read the picture: hubs, communities, bridge vertices
Level up: colour communities, resize by degree, optional interactive HTML export when the roadmap ships.
Case 3 — Quicksort storyboard
Outline recursive steps, use diamonds for base cases, rectangles for partition work, arrows for control flow.
TikZ sketch (illustrative fragment)
\begin{tikzpicture}[node distance=1.5cm]
\node (start) {Start};
\node[below of=start] (input) {Read array $A$};
\node[below of=input] (check) {$|A|\le 1$?};
% ...
\draw[->] (start) -- (input);
\draw[->] (input) -- (check);
\end{tikzpicture}
DrawFig can emit the detailed version for you — tweak, then re-export.
Power tips
Batch edits
Ctrl/
Cmd multi-select, marquee selection,
Ctrl+A, restyle as a group.
Handy shortcuts (typical draw.io bindings)
| Shortcut |
Action |
N |
Add node |
E |
Add edge |
Delete |
Remove selection |
Ctrl+Z / Ctrl+Y |
Undo / redo |
Ctrl+C/V |
Copy / paste |
Ctrl+G |
Group |
Ctrl+Shift+G |
Ungroup |
Ctrl+S |
Save |
Ctrl+E |
Export |
Layers
Background grid, main geometry, annotations — hide layers per export target.
Themes
Save a team palette + typography once, reuse across projects.
Export cheat sheet
Raster / vector images
Export → PNG/SVG/JPEG → set ≥300 DPI for print.
TikZ
Export → TikZ → choose between
full minimal document vs
tikzpicture only snippet.
PDF
Pick paper size, toggle grid background, download camera-ready PDF.
Learning path
Read next
- Introduction to Graph Theory — West
- CLRS graph chapters
Practice prompts
- Draw your daily routine
- Prerequisite graph for courses you teach
- Mini knowledge map for your research niche
Community
support@drawfig.com · issue trackers linked from drawfig.com
FAQ
Q: Graph drawing vs generic illustration?
A: Graph tools understand
topology — layout engines, edge routing, metric overlays.
Q: Do I need formal graph theory?
A: No — this guide starts from intuitive blocks, then names concepts as you grow.
Q: Import from other apps?
A: Bring PNG/SVG/PDF and trace/reconstruct; native importer coverage evolves release-by-release.
Q: LaTeX integration?
A: Export TikZ, paste into your
.tex, compile with the libraries hinted in the export header.
Q: Pricing?
A: Public offering emphasises a free graph+TikZ workflow — confirm on the live pricing page.
Homework
Pick one:
1. Daily schedule flowchart
2. Small social graph among friends / collaborators
3. Algorithm you are implementing right now
Share screenshots — we love seeing them.
Next: TikZ-focused tutorial
Previous: Tool comparison
DrawFig Team — updated 2026-03-06
Questions: support@drawfig.com