public/js/clientSideGameLogic/Map.js
//edge is just a array of two vertices (integer), the smaller integer is the first one
edge is just a array of two vertices (integer), the smaller integer is the first one
edge is just a array of two vertices ( integer ) the smaller integer is the first one
function edge (v1, v2) {
        if (v1 < v2) return [v1, v2];
        return [v2, v1];
    }
function edge ( v1 , v2 ) { if ( v1 < v2 ) return [ v1 , v2 ] ; return [ v2 , v1 ] ; }
edge is just a array of two vertices (integer), the smaller integer is the first one
edge is just a array of two vertices ( integer ) the smaller integer is the first one
//check here if valid edge