mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-08 17:10:07 +00:00
Relands "Add support for LiteGraph to convert to classes" (#667)
* Revert "Revert "Add support for LiteGraph to convert to classes (#334)" (#386)"
This reverts commit d607f6c7f7.
* Format
This commit is contained in:
@@ -11,11 +11,12 @@ app.registerExtension({
|
||||
__outputType?: string
|
||||
}
|
||||
|
||||
class RerouteNode {
|
||||
class RerouteNode extends LGraphNode {
|
||||
static category: string | undefined
|
||||
static defaultVisibility = false
|
||||
|
||||
constructor() {
|
||||
constructor(title?: string) {
|
||||
super(title)
|
||||
if (!this.properties) {
|
||||
this.properties = {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user