got basic graph creation working