if (nodeUI == null) {
if (node instanceof Neuron) {
Neuron neuron = (Neuron) node;
UINeuron neuronUI = new UINeuron(neuron);
addUINode(neuronUI, false, false);
} else if (node instanceof Ensemble) {
Ensemble ensemble = (Ensemble)node;
UIEnsemble ensembleUI = new UIEnsemble(ensemble);