mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-19 20:16:30 +02:00
[core] Graph/Node: getInputNodes and getOutputNodes methods
This commit is contained in:
parent
f41565f26b
commit
11e68e77ed
2 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue