Create README.md

This commit is contained in:
Javi Agenjo
2017-06-08 16:28:13 +02:00
committed by GitHub
parent 0e52737808
commit f2d7c17b19

View File

@@ -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();
```