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