/*nodeList.add(i, graphView.getGraphPerspective().getNode(nodeIndex.intValue()));*/
i++;
}
NodeDistances ind = new NodeDistances(nodeList, (CyNetwork)graphView.getModel(), nodeIndexToMatrixIndexMap);
/*NodeDistance ind = new NodeDistance(nodeList, graphView.getGraphPerspective(), nodeIndexToMatrixIndexMap);*/
int[][] node_distances = (int[][]) ind.calculate();
if (node_distances == null) {
return;
}