News

In Python, you can use a dictionary where each key represents a node, and the associated value is a list of nodes to which it has outgoing edges. This structure captures the directionality of edges.