DEV Community

Discussion on: A Gentle Introduction To Graph Theory

Collapse
 
dartdog profile image
Tom Brander

Excellent and very helpful but one thing I don't get, for instance in Python how would one define the order graph as distinct from the un-ordered notation, you seem to indicate the same notation? Surely there is some difference in code representation between order and unorder?

Collapse
 
artyom profile image
Artyom Yakovenko

Maybe using lists and tuples? And then it's just a matter of interpretation, whether you treat your structures as those representing a directed or undirected graph.