public int[][] getDijkstraRoutedArray() {
        int[][] daRgb = rgb;
        int i = this.destI_pos;
        int j = this.destJ_pos;
        double cost = 0;
        if (graph[i][j].getPath() != null) {
            cost = graph[i][j].getDistanceFromStartPoint();
            while (graph[i][j].getPath() != null) {
                BitmapGraph.BitmapNode node = graph[i][j];
                if (node.color == BitmapGraph.NodeColor.START) {
                    break;
                }
                i = node.getPath().getIPos();
                j = node.getPath().getJPos();

                daRgb[i][j] = 16746780;
                for (BitmapGraph.BitmapNode n : graph[i][j].getSideNodes()) {
                    if (n.getColor() != BitmapGraph.NodeColor.BLACK) {
                        daRgb[n.getIPos()][n.getJPos()] = 16746780;
                    }
                }



            }
            this.dijkstraPathCost = cost;
            return daRgb;
        }

        return null;
    }