plugins/layout/ports/joint.layout.port.js
function argPoint(bbox, args) {

        var x = args.x;
        if (util.isString(x)) {
            x = parseFloat(x) / 100 * bbox.width;
        }

        var y = args.y;
        if (util.isString(y)) {
            y = parseFloat(y) / 100 * bbox.height;
        }

        return g.point(x || 0, y || 0);
    }
function argPoint(bbox, args) {

        var x = args.x;
        if (util.isString(x)) {
            x = parseFloat(x) / 100 * bbox.width;
        }

        var y = args.y;
        if (util.isString(y)) {
            y = parseFloat(y) / 100 * bbox.height;
        }

        return g.point(x || 0, y || 0);
    }
function argPoint ( bbox , args ) { var x = args . x ; if ( util . isString ( x ) ) { x = parseFloat ( x ) / 100 * bbox . width ; } var y = args . y ; if ( util . isString ( y ) ) { y = parseFloat ( y ) / 100 * bbox . height ; } return g . point ( x || 0 , y || 0 ) ; }
Creates a point stored in arguments
Creates a point stored in arguments