1 2 3 4 5 6 7 8 9
graph G { 1 [color=blue]; 2 [color=red]; 3 [color=green]; 1 -- 3 [color=red]; 4 -- 3; 2 -- 4; 2 -- 3 [color=red]; }