TikZ Graph from Adjacency Matrix
View source code
Adjacency Matrix
0,0,0,0,0,0,0,0,0,0,1,0 0,0,0,0,0,1,0,0,0,0,0,0 0,0,0,0,1,0,0,0,0,0,0,0 0,0,0,0,1,0,0,0,0,0,0,0 0,0,0,0,0,0,1,0,0,0,0,0 0,0,0,0,0,0,1,0,0,0,0,0 0,0,0,0,0,1,0,0,0,0,0,0 0,0,0,0,1,0,0,0,0,0,0,0 0,0,0,0,0,0,1,0,0,0,0,0 0,0,0,0,0,0,0,0,0,0,1,0 0,0,0,0,0,1,0,0,0,0,0,0 0,0,0,0,0,0,0,0,0,0,1,0
Format:
csv
Mathematica array ({...})
Python list ([...])
Optional styling parameters
Node style
Shape
circle
square
Fill color
black
white
red
Outline color
black
white
red
Size
Outer sep
No
Yes
Node alignment
Labels
None
Numbered
Line style
Directed
Yes
No
Color
black
white
red
Arrowhead location
Line thickness
Arrow tip
Default
LaTeX
Stealth
Loop size
Scale
nx seed
Beta: Try to minimize crossings (can take longer for large graphs)
Draw