Scenic.Component.add_to_graph

You're seeing just the callback add_to_graph, go back to Scenic.Component module for more information.
Link to this callback

add_to_graph(graph, data, opts)

View Source

Specs

add_to_graph(graph :: Scenic.Graph.t(), data :: any(), opts :: Keyword.t()) ::
  Scenic.Graph.t()

Add this component to a Graph.

A standard add_to_graph/3 is automatically added to your component. Override this callback if you want to customize it.