1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Add title to the API workflow json. (#2380)

* Add `title` to the API workflow json.

* API: Move `title` to `_meta` dictionary, imply unused.
This commit is contained in:
AYF
2023-12-27 00:55:11 -05:00
committed by GitHub
parent f21bb41787
commit f15dce71fd

View File

@@ -1784,6 +1784,10 @@ export class ComfyApp {
output[String(node.id)] = {
inputs,
class_type: node.comfyClass,
// Ignored by the backend.
"_meta": {
title: node.title,
},
};
}
}