hamilton/grid2.dot

27 lines
605 B
Plaintext
Raw Normal View History

2021-06-10 21:27:25 +02:00
graph grid
{
dpi=300;
layout=dot
labelloc = "c"
node [label="",shape=circle, style=filled, color=chartreuse4]
// arbitrary path on rigid grid
edge [weight=1000 color=dimgrey minlen=2.0 len=2.0]
// uncomment to hide the grid
//edge [style=invis]
A2 -- A3 -- A4
B2 -- B3 -- B4
C2 -- C3 -- C4
D3 -- D4
E0 -- E1 -- E2 -- E3 -- E4
rank=same {C0 -- D0 -- E0}
rank=same {E1}
rank=same {A2 -- B2 -- C2}
rank=same {A3 -- B3 -- C3 -- D3 -- E3}
rank=same {A4 -- B4 -- C4 -- D4 -- E4}
//A0,A1,B0,B1,C1,D1,D2 [color=crimson]
}