Learning graphviz, translating the resource state graph to inline dot