[core] Graph/Node: getInputNodes and getOutputNodes methods

This commit is contained in:
Julien-Haudegond 2020-08-24 11:35:32 +02:00
parent f41565f26b
commit 11e68e77ed
2 changed files with 22 additions and 0 deletions

View file

@ -574,6 +574,12 @@ class BaseNode(BaseObject):
def minDepth(self):
return self.graph.getDepth(self, minimal=True)
def getInputNodes(self, recursive=False):
return self.graph.getInputNodes(self, recursive=recursive)
def getOutputNodes(self, recursive=False):
return self.graph.getOutputNodes(self, recursive=recursive)
def toDict(self):
pass