Add basic graph support