From: smh Date: Fri, 7 May 2004 09:00:21 +0000 (+0000) Subject: SUPERV5846 X-Git-Tag: Ecole_Ete_a4~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=12a14d0921524d63f32faf7f85a728c6775e2a5e;p=modules%2Fkernel.git SUPERV5846 --- diff --git a/src/SALOME_SWIG/salome_test.py b/src/SALOME_SWIG/salome_test.py index 6fa96a9f7..2a8196dc0 100644 --- a/src/SALOME_SWIG/salome_test.py +++ b/src/SALOME_SWIG/salome_test.py @@ -244,7 +244,7 @@ if father is None: 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(): @@ -280,7 +280,7 @@ print "Load dataflow from the file : " 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() @@ -342,7 +342,7 @@ for node in nodes: print names # Graph creation -GraphInLines = Graph( 'GraphInLines' ) +GraphInLines = StreamGraph( 'GraphInLines' ) GraphInLines.SetName( 'GraphInLines' ) GraphInLines.SetAuthor( '' ) GraphInLines.SetComment( '' )