Data structure defined, nodes can be labeled given a source node in a graph