mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-02 11:40:00 +00:00
Add subgraph skeleton classes (#997)
Allows downstream consumers to use subgraph types ahead of impl.
This commit is contained in:
@@ -61,6 +61,7 @@ import {
|
||||
import { NodeInputSlot } from "./node/NodeInputSlot"
|
||||
import { Reroute, type RerouteId } from "./Reroute"
|
||||
import { stringOrEmpty } from "./strings"
|
||||
import { Subgraph } from "./subgraph/Subgraph"
|
||||
import {
|
||||
CanvasItem,
|
||||
LGraphEventMode,
|
||||
@@ -260,6 +261,8 @@ export class LGraphCanvas {
|
||||
shouldSetCursor: true,
|
||||
}
|
||||
|
||||
declare subgraph?: Subgraph
|
||||
|
||||
#updateCursorStyle() {
|
||||
if (!this.state.shouldSetCursor) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user