working on mini-graphs