myBuilder.DefineComponentInstance(father,SuperVision)
def addStudy(ior):
- dataflow = SuperVision.getGraph(ior)
+ dataflow = SuperVision.getStreamGraph(ior)
name=dataflow.Name()
itr = myStudy.NewChildIterator(father)
while itr.More():
print xmlfile
print
-myGraph = Graph ( xmlfile )
+myGraph = StreamGraph ( xmlfile )
# This DataFlow is "valid" : no loop, correct links between Nodes etc...
print "myGraph.IsValid() = ", myGraph.IsValid()
print names
# Graph creation
-GraphInLines = Graph( 'GraphInLines' )
+GraphInLines = StreamGraph( 'GraphInLines' )
GraphInLines.SetName( 'GraphInLines' )
GraphInLines.SetAuthor( '' )
GraphInLines.SetComment( '' )