- new GUIWire(submodelModifiable, _S, nand1.getInputPins().get(0), new Point[0]);
- new GUIWire(submodelModifiable, _R, nand2.getInputPins().get(1), new Point(35, 37.5), new Point(35, 27.5));
- new GUIWire(submodelModifiable, nand1.getOutputPin(), cp1, new Point[0]);
- new GUIWire(submodelModifiable, nand2.getOutputPin(), cp2, new Point(65, 22.5));
- new GUIWire(submodelModifiable, cp1, nand2.getInputPins().get(0), new Point[0]);
- new GUIWire(submodelModifiable, cp2, nand1.getInputPins().get(1), new Point(65, 42.5), new Point(5, 42.5), new Point(5, 22.5));
+ new GUIWire(submodelModifiable, _S, nand1.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, _R, nand2.getPin("B"), new Point(35, 37.5), new Point(35, 27.5));
+ new GUIWire(submodelModifiable, nand1.getPin("Y"), cp1, new Point[0]);
+ new GUIWire(submodelModifiable, nand2.getPin("Y"), cp2, new Point(65, 22.5));
+ new GUIWire(submodelModifiable, cp1, nand2.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, cp2, nand1.getPin("B"), new Point(65, 42.5), new Point(5, 42.5), new Point(5, 22.5));