mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-26 17:54:14 +00:00
Create README.md
This commit is contained in:
@@ -25,3 +25,18 @@ Slots have the next information:
|
||||
* **label**: optional, string used to rename the name as shown in the canvas.
|
||||
|
||||
To retrieve the data traveling through a link you can call node.getInputData or node.getOutputData
|
||||
|
||||
|
||||
## Integration
|
||||
|
||||
To integrate in you HTML application:
|
||||
|
||||
```
|
||||
var graph = new LiteGraph.LGraph();
|
||||
var graph_canvas = new LiteGraph.LGraphCanvas( canvas, graph );
|
||||
```
|
||||
|
||||
If you want to start the graph then:
|
||||
```
|
||||
graph.start();
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user