growEdges(id);
NodeModel sourceModel = nodes[edge.getSource().getStoreId()];
NodeModel targetModel = nodes[edge.getTarget().getStoreId()];
EdgeModel model = edgeModeler.initModel(edge, sourceModel, targetModel);
sourceModel.addEdge(model);
targetModel.addEdge(model);
edges[id] = model;
addedEdges++;
}
float w = (float) edge.getWeight();
minWeight = Math.min(w, minWeight);