a minimal graph, two nodes connected by an edge