public void addPorts(CompositeFigure tc) {
Figure p1 = new BasicEllipse(150.0, 100.0, 20.0, 20.0, Color.red);
p1.translate(-10, -10);
Figure p2 = new BasicEllipse(200.0, 150.0, 20.0, 20.0, Color.blue);
p2.translate(-10, -10);
Figure p3 = new BasicEllipse(150.0, 200.0, 20.0, 20.0, Color.yellow);
p3.translate(-10, -10);
Figure p4 = new BasicEllipse(100.0, 150.0, 20.0, 20.0, Color.magenta);