Skip to content
Graphviz (DOT) templates

Graphviz — Force-directed (neato)

neato layout — spring model, good for undirected graphs.

Template previewGraphviz (DOT)
G A A B B A--B C C A--C B--C D D C--D E E D--E F F E--F F--D G G H H G--H H--A H--D I I I--G J J I--J J--E

What this template contains

Graph
Undirected
Edges
13
Source
8 lines

Make it your own.

graph G {
  layout=neato; overlap=false; sep="+10";
  node [shape=circle, style="filled", fillcolor="#dbeafe", fontname="Inter"];
  A -- B; A -- C; B -- C;
  C -- D; D -- E; E -- F; F -- D;
  G -- H; H -- A; H -- D;
  I -- J; J -- E; I -- G;
}