Skip to main content

build_graph_with_objdb

Function build_graph_with_objdb 

Source
pub fn build_graph_with_objdb(
    program: &Program,
    registry: Option<&AbstractionRegistry>,
    code_files: Option<&CodeFiles>,
    objdb: Option<&ObjectDb>,
) -> Result<PatchGraph, BuildError>
Expand description

Convert Program (AST) to PatchGraph (with all parameters).

When objdb is Some, infer_num_inlets/infer_num_outlets prioritize the object definition database, falling back to hardcoded tables for unregistered objects.