method

create_node

create_node(parent, type, content)
public

Create a type node with content content, and add it to parent in the model. If parent is nil, create a new model and put it into the editor treeview.