work in graph