doc graphs
wip doc logic