basic graph drawing