Learn when to use network diagrams, compare tools, follow a six-step DrawFig workflow, and export TikZ for LaTeX papers.
Network diagrams from zero to production — a complete guide
Published: 2026-03-09
Category: Tutorial
Tags: network diagrams, graph theory, DrawFig, research figures
Reading time: ~15 min
Introduction
Network diagrams appear everywhere in research papers, technical specs, and decks — social graphs, pathways, neural sketches, system architecture. This guide explains the core ideas and how to ship polished diagrams quickly with
DrawFig.
What is a network diagram?
A graph of
nodes and
edges encoding relationships between entities.
Typical domains
| Field |
Examples |
| Computer science |
Neural nets, data-flow, service maps |
| Biology |
Protein–protein interaction, metabolism, regulation |
| Social science |
Collaboration graphs, citations |
| Engineering |
Circuits, transport, telecom topology |
| Business |
Supply chains, CRM graphs, org charts |
Tool landscape (high level)
| Tool |
Price |
Learning |
TikZ export |
Chinese UI |
Best for |
| DrawFig |
Free |
Low |
Yes |
Strong |
Research + LaTeX |
| FigDraw |
Paid |
Medium |
No |
Good |
Biomedical art |
| BioRender |
Paid (premium) |
Low |
No |
Mixed |
Polished biomed |
| Gephi |
Free |
High |
No |
Mixed |
Large graph analytics |
| Cytoscape |
Free |
Medium |
No |
Mixed |
Bio networks |
| Hand-coded TikZ |
Free |
Very high |
N/A |
Sparse docs |
Pixel-perfect TeX |
Why DrawFig stands out
- Free tier aligned with the public product
- TikZ export for LaTeX-centric workflows
- Chinese-first experience (UI + docs)
- Visual editing — no scripting required for basics
- Vector exports — SVG, PDF, PNG as needed
Six-step workflow in DrawFig
Step 1 — Open the editor
Use the hosted editor; account requirements depend on deployment.
Step 2 — Pick a template (optional)
Start from network / graph templates when available.
Step 3 — Add nodes
- Drag shapes from the library
- Circles, rectangles, or custom icons
- Double-click to edit labels
- Right-click for fill, stroke, shadow
Tips
- Colour = category
- Size ∝ importance (e.g. degree)
- Icons aid scanning
Step 4 — Connect edges
- Drag connectors between anchor points
- Directed, undirected, or bidirectional styles
- Double-click edges for weights / relation text
Tips
- Solid = strong tie, dashed = weak / hypothetical
- Colour-code relation families
- Curved edges reduce occlusion
Step 5 — Auto-layout
Common algorithms (availability depends on build):
-
Force-directed — organic spacing
-
Hierarchical — trees & DAGs
-
Circular — even ring layouts
-
Grid — structured comparisons
Typical UI path: select all → context menu → layout → pick algorithm.
Step 6 — Export
- PNG/JPEG — slides & web
- SVG — lossless zoom
- PDF — print & submissions
- TikZ — embed in LaTeX sources
TikZ export recipe
1. Finalise the figure
2. Menu →
Export → TikZ
3. Paste into your
.tex file
4. Compile with required TikZ libraries loaded
Design best practices
Keep it readable
- Split when > ~50 nodes clutter one canvas
- Reduce crossings (layout + edge rerouting)
- Limit palette to 3–5 dominant colours
Layer information
- Group related nodes (group boxes)
- Legend for colours / line styles
- Clear title + optional subtitle
Labels
- Short node text (< ~10 characters when possible)
- Consistent font sizes
- Emphasise anchors / hubs with weight or colour
Colour palettes (examples)
| Style |
Primary |
Secondary |
Accent |
| Academic |
#2c3e50 |
#ecf0f1 |
#e74c3c |
| Tech |
#001f3f |
#39cccc |
#ffdc00 |
| Bio |
#2ecc71 |
#3498db |
#9b59b6 |
| Minimal |
#000000 |
#ffffff |
#bdc3c7 |
Three worked scenarios
1 — Collaboration network
Researchers as nodes, co-authored papers as weighted undirected edges, node size ∝ publication count, colour by institution.
Illustrative TikZ fragment
\begin{tikzpicture}[scale=1.2]
\node[circle,draw,fill=blue!30] (A) at (0,0) {Alice};
\node[circle,draw,fill=red!30] (B) at (3,0) {Bob};
\node[circle,draw,fill=green!30] (C) at (1.5,2) {Carol};
\draw[->,thick] (A) -- node[above]{3 papers} (B);
\draw[->,thick] (A) -- node[left]{5 papers} (C);
\draw[->,thick] (C) -- node[right]{2 papers} (B);
\end{tikzpicture}
2 — Neural network block diagram
Layers left-to-right, arrows for tensor flow, dashed boxes for hidden blocks, annotate activation names inside nodes.
3 — Metabolic-style pathway
Metabolites as nodes, reactions as directed edges, colour by compound class, label enzymes / EC numbers when needed.
Advanced ideas
Evolving networks
Animate or storyboard time slices when your toolchain supports it.
Multi-layer graphs
Physical vs logical vs application layers with cross-links and colour separation.
Interactive exports
Some pipelines support HTML/SVG tooltips — optional polish beyond static papers.
FAQ
Q: The canvas looks chaotic.
A: Re-run layout, delete low-value edges, cluster dense regions, or split into two figures.
Q: Too many nodes for one slide.
A: Infinite canvas in draw.io family tools, grouped collapse, or separate panels per subsystem.
Q: TikZ compile errors.
A: Add
\usetikzlibrary{graphs,graphdrawing} as needed, avoid duplicate node names, consult DrawFig export notes.
Q: Show graph statistics?
A: Legend with |V|, |E|, density; encode degree with size; encode clustering with colour ramps.
Further reading
DrawFig
TikZ & theory
Summary
Network diagrams clarify complex relational data. With DrawFig you can iterate visually, keep outputs publication-ready, and
drop straight into LaTeX via TikZ when your deployment exposes export.
Start now: DrawFig editor
Next read: choose the right diagram family — flowcharts vs networks vs sequence charts (see site blog index).
DrawFig team — updated 2026-03-09
Questions: see the FAQ or open a GitHub issue.