def instantiateGraph(): nodeList = mobility.staList + mobility.apList for node in nodeList: plot.instantiateGraph(mobility.MAX_X, mobility.MAX_Y) plot.instantiateNode(node, mobility.MAX_X, mobility.MAX_Y) plot.instantiateAnnotate(node) plot.instantiateCircle(node) plot.graphUpdate(node)
def instatiateNodes(self, node): plot.instantiateAnnotate(node) plot.instantiateCircle(node) plot.instantiateNode(node, self.MAX_X, self.MAX_Y) plot.graphUpdate(node)
def graphInstantiateNodes(self, node): plot.instantiateAnnotate(node) plot.instantiateCircle(node) plot.instantiateNode(node, self.MAX_X, self.MAX_Y) plot.graphUpdate(node)