ength; i++) {
            var edgeID = jukeboxData.deletedEdges[i];
            if (edgeID in jukeboxData.allEdges) {
                var edge = jukeboxData.allEdges[edgeID];
                deleteEdge(edge);
            }
        }
        jukeboxData.deletedEdges = [];
    }

    function getAllDeletedEdgeIDs() {
        var results = [];
        for (var i = 0; i < jukeboxData.allEdges.length; i++) {
            var edge = jukeboxData.allEdges[i];
            if (edge.deleted) {
                results.p