basic graph creation