graph { node [ shape="circle" ] { rank=same; 1; } { rank=same; 2; 3; } 1 -- 2 -- 3 -- 1; }