+ return connect(null, a, b);
+ }
+
+ public ModelWire connect(String name, ModelComponent a, ModelComponent b, String pinA, String pinB)
+ {
+ return connect(name, a.getPin(pinA), b.getPin(pinB));
+ }
+
+ public ModelWire connect(String name, ModelWireCrossPoint a, ModelComponent b, String pinB)
+ {
+ return connect(name, a.getPin(), b.getPin(pinB));
+ }
+
+ public ModelWire connect(String name, Pin a, ModelComponent b, String pinB)
+ {
+ return connect(name, a, b.getPin(pinB));
+ }
+
+ public ModelWire connect(String name, ModelComponent a, ModelWireCrossPoint b, String pinA)
+ {
+ return connect(name, a.getPin(pinA), b.getPin());
+ }
+
+ public ModelWire connect(String name, ModelWireCrossPoint a, ModelWireCrossPoint b)
+ {
+ return connect(name, a.getPin(), b.getPin());
+ }
+
+ public ModelWire connect(String name, Pin a, ModelWireCrossPoint b)
+ {
+ return connect(name, a, b.getPin());
+ }
+
+ public ModelWire connect(String name, ModelComponent a, Pin b, String pinA)
+ {
+ return connect(name, a.getPin(pinA), b);
+ }
+
+ public ModelWire connect(String name, ModelWireCrossPoint a, Pin b)
+ {
+ return connect(name, a.getPin(), b);
+ }
+
+ public ModelWire connect(String name, Pin a, Pin b)
+ {
+ return new ModelWire(model, name, a, b);