private JoinStg generateJoinStg(VisualJoinComponent component) throws InvalidConnectionException {
        String name = getComponentName(component);
        Point2D pos = getComponentPosition(component);
        ContactStg a = null;
        ContactStg b = null;