MCPcopy Index your code
hub / github.com/GraphiteEditor/Graphite / extract_ui_metadata

Function extract_ui_metadata

document/graph-storage/src/to_runtime.rs:245–267  ·  view source on GitHub ↗

Returns `None` when the node has no `ui::*` attributes at all so callers don't end up with empty entries for unconverted-from-runtime nodes. `input_metadata` is always sized to match `node.inputs.len()` for a strict slot-by-slot rebuild; empty slots use `InputMetadataEntry::default()`.

(node: &crate::Node, network_path: &[RuntimeNodeId], local_id: RuntimeNodeId)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

convert_networkFunction · 0.85

Calls 5

get_typedMethod · 0.80
get_orMethod · 0.80
get_or_defaultMethod · 0.80
iterMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected