]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
SUPERV5846
authorsmh <smh@opencascade.com>
Fri, 7 May 2004 09:00:21 +0000 (09:00 +0000)
committersmh <smh@opencascade.com>
Fri, 7 May 2004 09:00:21 +0000 (09:00 +0000)
src/SALOME_SWIG/salome_test.py

index 6fa96a9f7691bf4862ff97258ee5dbd75c2ad358..2a8196dc0aaf3d8cb8574ea814e438e515acc535 100644 (file)
@@ -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( '' )