What is the correct graph data structure to differentiate between nodes with the same name?
问题 I'm learning about graphs(they seem super useful) and was wondering if I could get some advice on a possible way to structure my graphs. Simply, Lets say I get purchase order data everyday and some days its the same as the day before and on others its different. For example, yesterday I had an order of pencils and erasers, I create the two nodes to represent them and then today I get an order for an eraser and a marker, and so on. After each day, my program also looks to see who ordered what,