by itsbits · 5y ago · 0 comments
I think it was always a graph. I remember reading DOM implementation years ago, where a node will have siblings references as well making it graph DS.
graph doesn't mean multiple parents all the time. if you have references of other nodes in current node data(not just as children) as long as you can travel across Data structure, enough to say it as graph structure.