1graph foo { 2 edge [weight="10"]; 3 0 -- 1 [weight="3.14159"]; 4 1 -- foo [weight="2.71828"]; 5 foo -- bar; 6 bar -- 1; 7} 8