Scenic.Graph.add_to

You're seeing just the function add_to, go back to Scenic.Graph module for more information.
Link to this function

add_to(graph, id, builder)

View Source

Add to a specified group in a graph.

Similar to adding a group during graph construction, the add_to function accepts a builder function that adds to a graph under the identified group.

Primitives with the id that are not groups are ignored.

If multiple groups have the given id, then the builder is run against each of them.