renders the specified item or the whole component
$$("diagram1").render(id, data, type);
When no parameters are specified, the method renders the whole view.
Types of the operation: