public void run(final double frac) {
TupleSet focus = vis.getGroup(Visualization.FOCUS_ITEMS);
if (focus == null || focus.getTupleCount() == 0)
return;
Graph g = (Graph) vis.getGroup(m_group);
Node f = null;
Iterator tuples = focus.tuples();
while (tuples.hasNext() &&
!g.containsTuple(f=(Node)tuples.next())) {
f = null;
}
if (f == null) {
return;
}
Object uo = f.get(Constants.USER_OBJECT);
if(uo!=null && uo instanceof GraphNode) {
GraphNode node = (GraphNode)uo;
if(node.isServiceInstance())
return;
}
g.getSpanningTree(f);
}