mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
13 lines
335 B
JavaScript
Executable File
13 lines
335 B
JavaScript
Executable File
|
|
LiteGraph.node_images_path = "../nodes_data/";
|
|
var editor = new LiteGraph.Editor("main");
|
|
window.graphcanvas = editor.graphcanvas;
|
|
window.graph = editor.graph;
|
|
window.addEventListener("resize", function() { editor.graphcanvas.resize(); } );
|
|
demo();
|
|
|
|
function trace(a)
|
|
{
|
|
if(typeof(console) == "object")
|
|
console.log(a);
|
|
} |