#NEWLINE# def create_group( self , id_scope = IdScope ( ) ) : #NEWLINE# #INDENT# from vistrails.core.vistrail.location import Location #NEWLINE# from vistrails.core.vistrail.module_function import ModuleFunction #NEWLINE# from vistrails.core.vistrail.module_param import ModuleParam #NEWLINE# params = [ ModuleParam ( id = id_scope . getNewId ( ModuleParam . vtType ) , type = 'Int' , val = '1' ) ] #NEWLINE# functions = [ ModuleFunction ( id = id_scope . getNewId ( ModuleFunction . vtType ) , name = 'value' , parameters = params ) ] #NEWLINE# location = Location ( id = id_scope . getNewId ( Location . vtType ) , x = 12.342 , y = ( - 19.432 ) ) #NEWLINE# module = Group ( id = id_scope . getNewId ( Group . vtType ) , location = location , functions = functions ) #NEWLINE# return functions