Scenic.Primitives.add_specs_to_graph

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

add_specs_to_graph(g, list)

View Source

Specs

add_specs_to_graph(Scenic.Graph.t(), [Scenic.Graph.deferred(), ...]) ::
  Scenic.Graph.t()

Given a graph and a list of deferred primitive specifications, run the specs in order, adding the primitives to the graph.

Example:

items = [
  text_spec("hello "),
  text_spec("world")
]

graph = graph |> add_specs_to_graph(items)

If given a third parameter, the specs are wrapped in a group, and that parameter is used as the group's options.

graph = graph |> add_specs_to_graph(items, t: {100,100})
Link to this function

add_specs_to_graph(g, list, options)

View Source

Specs

add_specs_to_graph(Scenic.Graph.t(), [Scenic.Graph.deferred(), ...], keyword()) ::
  Scenic.Graph.t()