add simple methods for adding raw nodes and edges