Пример #1
0
def onTimeChange(attr, old, time):
    timeIndex_ = getTimeIndex(time)
    grid = grids[timeIndex_]
    updateNodes(grid)
    updateEdges(grid)
Пример #2
0
def onTimeChange(attr, old, time):
    time_index = getTimeIndex(time)
    actual_network = networks[time_index]
    updateNodes(actual_network)
    updateEdges()
    changeArrows()