Scenic.Graph.count

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

Specs

count(graph :: t()) :: integer()

Returns a count of all the primitives in a graph.

The root Group counts as a primitive, so an empty graph should have a count of 1.

Specs

count(graph :: t(), id :: any()) :: integer()

Returns a count of all the primitives in a graph with a specific id.