Give To Graphic a unit row so an unconnected content input renders as nothing

This commit is contained in:
Dennis Kobert
2026-08-24 12:02:46 +00:00
parent d70eae205d
commit dcc9059041
2 changed files with 18 additions and 0 deletions

View File

@@ -122,6 +122,12 @@ fn node_registry() -> HashMap<ProtoNodeIdentifier, Vec<RegistryEntry>> {
.into_iter()
.map(|entry| (graphene_std::graphic::to_graphic::IDENTIFIER.clone(), entry)),
);
// The unit row of To Graphic: an unconnected content input renders as nothing.
node_types.extend(
graphene_std::graphic::to_graphic_unit_entries()
.into_iter()
.map(|entry| (graphene_std::graphic::to_graphic::IDENTIFIER.clone(), entry)),
);
// The transitional level bridge: a leveled wire materializes into the legacy
// list an unconverted consumer expects. The rows are keyed under the legacy
// convert identifiers and die with the last legacy consumer.