graph { node [ shape=circle ]; 0 [ label="" ]; 1 [ label=""; shape=triangle ]; 2 [ label=""; shape=triangle ]; u [ label="u" ]; v [ label="v" ]; 0 -- 1 -- v; 0 -- 2 -- u; }