public void changeLinkWeight(DefaultLink link, double weight) {
super.changeLinkWeight(link, weight);
SteinerNode n1 = new SteinerNode(link.getSource().getId());
SteinerNode n2 = new SteinerNode(link.getTarget().getId());
SteinerEdge e = new SteinerEdge(n1, link.getId(), n2, (float)weight);
getTopKGraph().get(n1).remove(e);
getTopKGraph().get(n2).remove(e);
getTopKGraph().get(n1).add(e);
getTopKGraph().get(n2).add(e);
}