def onTimeChange(attr, old, time): timeIndex_ = getTimeIndex(time) grid = grids[timeIndex_] updateNodes(grid) updateEdges(grid)
def onTimeChange(attr, old, time): time_index = getTimeIndex(time) actual_network = networks[time_index] updateNodes(actual_network) updateEdges() changeArrows()