public UINeoNode addNodeModel(Node node) throws ContainerException {
return addNodeModel(node, null, null);
}
public UINeoNode addNodeModel(Node node, Double posX, Double posY) throws ContainerException {
NodeContainer nodeContainer = getTopNodeContainer();
if (nodeContainer != this && nodeContainer != null) {
// Delegate to the top Node Container in the Application
return nodeContainer.addNodeModel(node, posX, posY);
} else if (nodeContainer == this) {
UINeoNode nodeUI = getNengoWorld().addNodeModel(node, posX, posY);
try {
DragAction.dropNode(nodeUI);
} catch (UserCancelledException e) {