NodeId string
type at internal boundaries. Serialized workflows and API payloads may still
contain numeric IDs, but node IDs in litegraph, such as node.id,
LLink.origin_id and LLink.target_id, should be treated as strings after
they enter the frontend. Link IDs (LLink.id) and reroute IDs remain numbers.
Extension authors should avoid numeric comparisons against node IDs. In
particular, subgraph boundary sentinels are exposed as branded string IDs:
SUBGRAPH_INPUT_IDserializes from-10SUBGRAPH_OUTPUT_IDserializes from-20
'-10' and '-20', or normalize both sides to
strings before comparing legacy values.