diff --git a/guides/README.md b/guides/README.md index d5f2c51f48..cc9761170f 100644 --- a/guides/README.md +++ b/guides/README.md @@ -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(); +```