original_docstring: 
          Creates a basic graph with one parent workflow (PWM) which first calls a child
          workflow (PWS) to choose one input from a set (DI1 from DI1-DI4), and then use
          it to perform a calculation (PCS) and obtain an output (DO1). The node PWM will
          call both PWS and PCS itself.
          
docstring: Creates a basic graph with one parent workflow (PWM) which first calls a child
  workflow (PWS) to choose one input from a set (DI1 from DI1-DI4), and then use
  it to perform a calculation (PCS) and obtain an output (DO1). The node PWM will
  call both PWS and PCS itself.
docstring_tokens: Creates a basic graph with one parent workflow ( PWM ) which first calls a child workflow ( PWS ) to choose one input from a set ( DI1 from DI1 - DI4 ) and then use it to perform a calculation ( PCS ) and obtain an output ( DO1 ) . The node PWM will call both PWS and PCS itself .
code: def _create_looped_graph(self):
          """
          Creates a basic graph with one parent workflow (PWM) which first calls a child
          workflow (PWS) to choose one input from a set (DI1 from DI1-DI4), and then use
          it to perform a calculation (PCS) and obtain an output (DO1). The node PWM will
          call both PWS and PCS itself.
          """
  
          di1 = orm.Data().store()
          di2 = orm.Data().store()
          di3 = orm.Data().store()
          di4 = orm.Data().store()
  
          pwm = orm.WorkflowNode()
          pwm.add_incoming(di1, link_type=LinkType.INPUT_WORK, link_label='inpwm1')
          pwm.add_incoming(di2, link_type=LinkType.INPUT_WORK, link_label='inpwm2')
          pwm.add_incoming(di3, link_type=LinkType.INPUT_WORK, link_label='inpwm3')
          pwm.add_incoming(di4, link_type=LinkType.INPUT_WORK, link_label='inpwm4')
          pwm.store()
  
          pws = orm.WorkflowNode()
          pws.add_incoming(di1, link_type=LinkType.INPUT_WORK, link_label='inpws1')
          pws.add_incoming(di2, link_type=LinkType.INPUT_WORK, link_label='inpws2')
          pws.add_incoming(di3, link_type=LinkType.INPUT_WORK, link_label='inpws3')
          pws.add_incoming(di4, link_type=LinkType.INPUT_WORK, link_label='inpws4')
          pws.add_incoming(pwm, link_type=LinkType.CALL_WORK, link_label='callw')
          pws.store()
  
          di1.add_incoming(pws, link_type=LinkType.RETURN, link_label='outpws')
  
          pcs = orm.CalculationNode()
          pcs.add_incoming(di1, link_type=LinkType.INPUT_CALC, link_label='inpcs1')
          pcs.add_incoming(pwm, link_type=LinkType.CALL_CALC, link_label='callc')
          pcs.store()
  
          do1 = orm.Data().store()
          do1.add_incoming(pcs, link_type=LinkType.CREATE, link_label='outpcs')
          do1.add_incoming(pwm, link_type=LinkType.RETURN, link_label='outpwm')
  
          return di1, di2, di3, di4, do1, pws, pcs, pwm
code_tokens: def _create_looped_graph ( self ) : di1 = orm . Data ( ) . store ( ) di2 = orm . Data ( ) . store ( ) di3 = orm . Data ( ) . store ( ) di4 = orm . Data ( ) . store ( ) pwm = orm . WorkflowNode ( ) pwm . add_incoming ( di1 , link_type = LinkType . INPUT_WORK , link_label = 'inpwm1' ) pwm . add_incoming ( di2 , link_type = LinkType . INPUT_WORK , link_label = 'inpwm2' ) pwm . add_incoming ( di3 , link_type = LinkType . INPUT_WORK , link_label = 'inpwm3' ) pwm . add_incoming ( di4 , link_type = LinkType . INPUT_WORK , link_label = 'inpwm4' ) pwm . store ( ) pws = orm . WorkflowNode ( ) pws . add_incoming ( di1 , link_type = LinkType . INPUT_WORK , link_label = 'inpws1' ) pws . add_incoming ( di2 , link_type = LinkType . INPUT_WORK , link_label = 'inpws2' ) pws . add_incoming ( di3 , link_type = LinkType . INPUT_WORK , link_label = 'inpws3' ) pws . add_incoming ( di4 , link_type = LinkType . INPUT_WORK , link_label = 'inpws4' ) pws . add_incoming ( pwm , link_type = LinkType . CALL_WORK , link_label = 'callw' ) pws . store ( ) di1 . add_incoming ( pws , link_type = LinkType . RETURN , link_label = 'outpws' ) pcs = orm . CalculationNode ( ) pcs . add_incoming ( di1 , link_type = LinkType . INPUT_CALC , link_label = 'inpcs1' ) pcs . add_incoming ( pwm , link_type = LinkType . CALL_CALC , link_label = 'callc' ) pcs . store ( ) do1 = orm . Data ( ) . store ( ) do1 . add_incoming ( pcs , link_type = LinkType . CREATE , link_label = 'outpcs' ) do1 . add_incoming ( pwm , link_type = LinkType . RETURN , link_label = 'outpwm' ) return di1 , di2 , di3 , di4 , do1 , pws , pcs , pwm
short_docstring: Creates a basic graph with one parent workflow (PWM) which first calls a child
  workflow (PWS) to choose one input from a set (DI1 from DI1-DI4), and then use
  it to perform a calculation (PCS) and obtain an output (DO1).
short_docstring_tokens: Creates a basic graph with one parent workflow ( PWM ) which first calls a child workflow ( PWS ) to choose one input from a set ( DI1 from DI1 - DI4 ) and then use it to perform a calculation ( PCS ) and obtain an output ( DO1 ) .
comment: """
          Creates a basic graph with one parent workflow (PWM) which first calls a child
          workflow (PWS) to choose one input from a set (DI1 from DI1-DI4), and then use
          it to perform a calculation (PCS) and obtain an output (DO1). The node PWM will
          call both PWS and PCS itself.
          """