relative

Basic data handling: PathRelative

Returns a relative path. This node computes a relative path from the 'start' path to the 'path'. If 'start' is not provided, the current working directory is used.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
pathSTRINGrequired
startSTRINGoptional

Outputs (1)

NameType
relative pathSTRING