graph: split graph.h
graph: closer...