minimal-graph: alists representation