API to convert a graph to documentation.