the arcs simply connect the nodes