Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

procgen.find

Discover procedural graphs by what they produce. Where procgen.search matches free-text over a graph's metadata, find opens each .procGraph, reads the type of every declared output, and filters on that — so you can ask "which graphs output a Bundle?" or "a Geometry named tower?".

Filters: name (substring over name/id), tag, category, and produces (an output-type or producing-op substring, e.g. "Bundle", "Geometry", "mesh."). Each result carries its resolved outputs ({ name, type, op }), so you find a graph by its result, not just its description. op is the op or node that makes the output, by the name a graph calls it by (mesh.box), and type is the type its value has as far as the graph and the nodes it calls state it; an output whose type is first known when the graph cooks reads Any, and is found by its op.

Part of procgen.toolbox, called as tools.use("procgen", "find", ...) (zero procgen find in the engine shell). Returns { results, count }.