123124125126127128129130131
} else if (node instanceof Neuron) { nodeUI = new UINeuron((Neuron) node); } else if (node instanceof FunctionInput) { nodeUI = new UIFunctionInput((FunctionInput) node); } else { nodeUI = new UIGenericNode(node); } return nodeUI; }