loads data to the component from an inline data source
data | promise|string|array|object | the data to parse |
webix.ui({
view:"diagram",
id: "diagram1",
});
$$("diagram1").parse([
{ id: "start", type: "circle", value: "start", x: 0, y: 80},
// other blocks
]);
The data parameter can have the following types:
If the data comes from Diagram Editor, it has several fields as returned by its getValues() method.