Added method to create connections from topology with mouse