graph G { 1 [color=blue]; 2 [color=red]; 3 [color=green]; 1 -- 3 [color=red]; 4 -- 3; 2 -- 4; 2 -- 3 [color=red]; }