adding docs and the graph