Actually added flowchart documentation this time.
This commit is contained in:
parent
55462dc2d6
commit
5a23531aa3
@ -106,6 +106,9 @@ class Flowchart(Node):
|
|||||||
self.addTerminal(name, **opts)
|
self.addTerminal(name, **opts)
|
||||||
|
|
||||||
def setInput(self, **args):
|
def setInput(self, **args):
|
||||||
|
"""Set the input values of the flowchart. This will automatically propagate
|
||||||
|
the new values throughout the flowchart, (possibly) causing the output to change.
|
||||||
|
"""
|
||||||
#print "setInput", args
|
#print "setInput", args
|
||||||
#Node.setInput(self, **args)
|
#Node.setInput(self, **args)
|
||||||
#print " ....."
|
#print " ....."
|
||||||
@ -120,6 +123,8 @@ class Flowchart(Node):
|
|||||||
#self.sigOutputChanged.emit(self)
|
#self.sigOutputChanged.emit(self)
|
||||||
|
|
||||||
def output(self):
|
def output(self):
|
||||||
|
"""Return a dict of the values on the Flowchart's output terminals.
|
||||||
|
"""
|
||||||
return self.outputNode.inputValues()
|
return self.outputNode.inputValues()
|
||||||
|
|
||||||
def nodes(self):
|
def nodes(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user