if (modelPart instanceof Circuit)
figure = new CircuitFeedbackFigure();
else if (modelPart instanceof LogicFlowContainer)
figure = new LogicFlowFeedbackFigure();
else if (modelPart instanceof LogicLabel)
figure = new LabelFeedbackFigure();
else if (modelPart instanceof LED)
figure = new LEDFeedbackFigure();
else if (modelPart instanceof OrGate)
figure = new OrGateFeedbackFigure();
else if (modelPart instanceof XORGate)