basic graph control