double inLineY = posY + (logicWidth - 1) * heightPerPin / 2;
gc.drawLine(posX, inLineY, posX + width / 2, inLineY);
gc.setForeground(Preferences.current().getColor("net.mograsim.logic.model.color.foreground"));
double inLineY = posY + (logicWidth - 1) * heightPerPin / 2;
gc.drawLine(posX, inLineY, posX + width / 2, inLineY);
gc.setForeground(Preferences.current().getColor("net.mograsim.logic.model.color.foreground"));